Skip to content

#252bbc

a dark, vivid blue · cool · closest name: Medium Blue

RGB
37, 43, 188
HSL
238°, 67%, 44%
CMYK
80, 77, 0, 26
Luminance
0.0575

At a glance

Every number on this page in one read: what #252bbc is made of, how bright it looks, and which way it leans.

Hex
#252bbc
Hue
238°
blue
Saturation
67%
vivid
Lightness
44%
dark
Brightness
74%
HSV value
Perceived
29%
weighted brightness
Luminance
0.0575
WCAG relative
Temperature
Cool
85/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
9.77:1
Closest name
Medium Blue
ΔE2000 5.5
Where it sits
Hue238° of 360°
Saturation67%
Lightness44%
Temperature
Warm ← → Cool85% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#252bbc
RGBrgb(37, 43, 188)
HSLhsl(238, 67%, 44%)
CMYKcmyk(80%, 77%, 0%, 26%)
LABlab(28.8 48.4 -75.1)
LCHlch(28.8 89.4 302.8)
OKLCHoklch(0.407 0.218 269.9)
Decimal2436028
Display P3color(display-p3 0.145 0.169 0.737)

Copy-ready code

/* CSS */
color: #252bbc;
background-color: #252bbc;
/* Tailwind (arbitrary) */
class="text-[#252bbc] bg-[#252bbc]"
/* SCSS */
$brand: #252bbc;
/* SwiftUI */
Color(red: 0.145, green: 0.169, blue: 0.737)
/* Android */
Color.parseColor("#252bbc")
/* Flutter */
Color(0xFF252BBC)
/* Python / OpenCV (BGR) */
(188, 43, 37)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #252bbc · 9.77:1
Use #ffffffAAA at every size.
Aa
White text · 9.77:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.15:1
AA fail · AA large fail · AAA fail
Reading the other direction: #252bbc as text scores 9.77:1 on white and 2.15:1 on black.

Accessibility — WCAG contrast

Aa
#252bbc on white: 9.77:1
AA ✓ pass · AA-large · AAA
Aa
#252bbc on black: 2.15:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004BC0
deuteranopia · #003CB9
tritanopia · #005772

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #252bbc is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F3F4FB
#E8E8F8
#CACCF1
#A1A4ED
#7277E3
#444ADA
#252bbc
#2227AA
#1B1F88
#171A63
#0F113E
Base = 600Lightest = 50 · #F3F4FBDarkest = 950 · #0F113E
:root {
  --brand-50: #F3F4FB;
  --brand-100: #E8E8F8;
  --brand-200: #CACCF1;
  --brand-300: #A1A4ED;
  --brand-400: #7277E3;
  --brand-500: #444ADA;
  --brand-600: #252bbc;
  --brand-700: #2227AA;
  --brand-800: #1B1F88;
  --brand-900: #171A63;
  --brand-950: #0F113E;
  --brand: #252bbc;
  --brand-ink: #ffffff;
}

Colors that work with #252bbc

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4F5FA
Tinted page background
Border#C0C2ED
Hairlines and dividers
Muted text#4B4E9B
Captions on the surface
Accent#AF851D
Second voice, not a rival
Dark variant#15186B
Hover, pressed, headers
Light variant#EAEAFB
Selected rows, tints
Dark surface#141424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #252bbc

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#BCB625
Analogous left#2576BC
Analogous right#6A25BC
Split-complement 1#BC6A25
Split-complement 2#76BC25
Triadic 1#BC252B
Triadic 2#2BBC25
Tetradic#BC2576

RGB percentages

Red14.5%
Green16.9%
Blue73.7%

CMYK percentages

Cyan80.3%
Magenta77.1%
Yellow0.0%
Key (black)26.3%

Color previews

#252bbc text on a black background

contrast 2.15:1

Card sample

#252bbc text on a white background

contrast 9.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #252bbc;
Background color
Panel with #252bbc background
background-color: #252bbc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #252bbc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(37, 43, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(37, 43, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #252bbc;
background: linear-gradient(135deg, #252bbc, #8425BC);

Monochromatic scale

Palettes built from #252bbc

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#252bbc in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#252bbc, answered

What color is #252bbc?

#252bbc is a dark vivid blue, closest to Medium Blue (ΔE2000 5.5). It sits at 238° on the hue wheel with 67% saturation and 44% lightness, which reads as cool.

What is the RGB value of #252bbc?

rgb(37, 43, 188) — 37 red, 43 green and 188 blue out of 255, or 14.5% / 16.9% / 73.7% by channel.

Is #252bbc a light or a dark color?

It is a dark color. Relative luminance is 0.0575 and perceived brightness is 29%, so white text on it reaches 9.77:1.

Should I use black or white text on #252bbc?

White. It scores 9.77:1 against #252bbc, versus 2.15:1 for black — AAA at any size.

What is the complementary color of #252bbc?

#BCB625 sits directly opposite on the wheel. Softer options are the split-complements #BC6A25 and #76BC25, which give the same contrast with far less vibration.

What colors go well with #252bbc?

For interface work: #F4F5FA as the surface, #C0C2ED for borders, #4B4E9B for secondary text, #AF851D as an accent and #15186B for hover and pressed states. For a palette, the analogous pair #2576BC and #6A25BC stays calm, while #BCB625 is the loudest partner.

What is #252bbc in CMYK for printing?

cmyk(80%, 77%, 0%, 26%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #252bbc warm or cool?

Cool — it scores 85 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5625BC; nudged cooler, #234FBE.

Work with #252bbc in the Color Lab