#252BB1#252BB1

#252BB1 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.4% C 0.205 H 270.4°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#252BB1
RGBrgb(37, 43, 177)
HSLhsl(237, 65%, 42%)
HSVhsv(237, 79%, 69%)
CMYKcmyk(79.1%, 75.7%, 0%, 30.6%)
CIE-LABlab(27.56, 44.78, -70.61)
CIE-LCHlch(27.56, 83.61, 302.38°)
OKLaboklab(39.44% 0.0015 -0.2045)
OKLCHoklch(39.44% 0.205 270.4)
XYZxyz(9.5599, 5.2943, 42.1045)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252BB1 #B1AB25
analogous
#2571B1 #252BB1 #6525B1
triadic
#252BB1 #B1252B #2BB125
tetradic
#252BB1 #B12571 #B1AB25 #25B165
square
#252BB1 #B12571 #B1AB25 #25B165
split-complementary
#252BB1 #B16525 #71B125
monochromatic
#10124C #1A1F7E #252BB1 #3D43D6 #6F74E1

Accessibility & contrast

On white

10.20
#252BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#252BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252BB1
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252BB1#FFFFFF#000000##FFFFFF
##252BB11.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252bb1;
/* rgb */ color: rgb(37, 43, 177);
/* oklch */ color: oklch(39.4% 0.205 270.4);
Tailwind
colors: {
  custom: {
    50: '#7966ca',
    500: '#252bb1',
    950: '#000000',
  },
}
SCSS
$custom: #252bb1;
$custom-light: #7966ca;
$custom-dark: #000000;
JSON
{
  "hex": "#252bb1",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 237.429,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39443,
    "c": 0.20451,
    "h": 270.4
  },
  "luminance": 0.05295
}

Semantic roles & 50–950 ramp

primary
#252BB1
secondary
#C8C46A
accent
#E13FE8
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #252BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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