#252CB2#252CB2

#252CB2 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.7% C 0.205 H 270.3°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#252CB2
RGBrgb(37, 44, 178)
HSLhsl(237, 66%, 42%)
HSVhsv(237, 79%, 70%)
CMYKcmyk(79.2%, 75.3%, 0%, 30.2%)
CIE-LABlab(27.87, 44.55, -70.70)
CIE-LCHlch(27.87, 83.56, 302.22°)
OKLaboklab(39.69% 0.001 -0.2048)
OKLCHoklch(39.69% 0.205 270.3)
XYZxyz(9.6968, 5.4079, 42.6436)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252CB2 #B2AB25
analogous
#2573B2 #252CB2 #6425B2
triadic
#252CB2 #B2252C #2CB225
tetradic
#252CB2 #B22573 #B2AB25 #25B264
square
#252CB2 #B22573 #B2AB25 #25B264
split-complementary
#252CB2 #B26425 #73B225
monochromatic
#10134D #1A1F7F #252CB2 #3D45D7 #7076E1

Accessibility & contrast

On white

10.09
#252CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#252CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252CB2
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252CB2#FFFFFF#000000##FFFFFF
##252CB21.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#003BB0
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #252cb2;
/* rgb */ color: rgb(37, 44, 178);
/* oklch */ color: oklch(39.7% 0.205 270.3);
Tailwind
colors: {
  custom: {
    50: '#7967ca',
    500: '#252cb2',
    950: '#000000',
  },
}
SCSS
$custom: #252cb2;
$custom-light: #7967ca;
$custom-dark: #000000;
JSON
{
  "hex": "#252cb2",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 237.021,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39694,
    "c": 0.20476,
    "h": 270.3
  },
  "luminance": 0.05409
}

Semantic roles & 50–950 ramp

primary
#252CB2
secondary
#C8C36B
accent
#E03FE9
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #252CB2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#252CB2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva