#252CB1#252CB1

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

Color values

HEX#252CB1
RGBrgb(37, 44, 177)
HSLhsl(237, 65%, 42%)
HSVhsv(237, 79%, 69%)
CMYKcmyk(79.1%, 75.1%, 0%, 30.6%)
CIE-LABlab(27.76, 44.21, -70.28)
CIE-LCHlch(27.76, 83.03, 302.17°)
OKLaboklab(39.59% 0.0011 -0.2035)
OKLCHoklch(39.59% 0.204 270.3)
XYZxyz(9.5967, 5.3679, 42.1168)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252CB1 #B1AA25
analogous
#2572B1 #252CB1 #6425B1
triadic
#252CB1 #B1252C #2CB125
tetradic
#252CB1 #B12572 #B1AA25 #25B164
square
#252CB1 #B12572 #B1AA25 #25B164
split-complementary
#252CB1 #B16425 #72B125
monochromatic
#10134C #1A1F7E #252CB1 #3D44D6 #6F75E1

Accessibility & contrast

On white

10.13
#252CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#252CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252CB1
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252CB1#FFFFFF#000000##FFFFFF
##252CB11.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B5
Deuteranopia (green-blind)
#003AAF
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #252cb1;
/* rgb */ color: rgb(37, 44, 177);
/* oklch */ color: oklch(39.6% 0.204 270.3);
Tailwind
colors: {
  custom: {
    50: '#7967ca',
    500: '#252cb1',
    950: '#000000',
  },
}
SCSS
$custom: #252cb1;
$custom-light: #7967ca;
$custom-dark: #000000;
JSON
{
  "hex": "#252cb1",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 237,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39585,
    "c": 0.20354,
    "h": 270.3
  },
  "luminance": 0.05369
}

Semantic roles & 50–950 ramp

primary
#252CB1
secondary
#C8C36A
accent
#E03FE8
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #252CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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