#252EB1#252EB1

#252EB1 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 39.9% C 0.202 H 270.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#252EB1
RGBrgb(37, 46, 177)
HSLhsl(236, 65%, 42%)
HSVhsv(236, 79%, 69%)
CMYKcmyk(79.1%, 74%, 0%, 30.6%)
CIE-LABlab(28.17, 43.06, -69.60)
CIE-LCHlch(28.17, 81.84, 301.74°)
OKLaboklab(39.88% 0.0004 -0.2016)
OKLCHoklch(39.88% 0.202 270.1)
XYZxyz(9.6730, 5.5205, 42.1422)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252EB1 #B1A825
analogous
#2574B1 #252EB1 #6225B1
triadic
#252EB1 #B1252E #2EB125
tetradic
#252EB1 #B12574 #B1A825 #25B162
square
#252EB1 #B12574 #B1A825 #25B162
split-complementary
#252EB1 #B16225 #74B125
monochromatic
#10144C #1A217E #252EB1 #3D47D6 #6F77E1

Accessibility & contrast

On white

9.98
#252EB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#252EB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252EB1
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252EB1#FFFFFF#000000##FFFFFF
##252EB11.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252eb1;
/* rgb */ color: rgb(37, 46, 177);
/* oklch */ color: oklch(39.9% 0.202 270.1);
Tailwind
colors: {
  custom: {
    50: '#7968ca',
    500: '#252eb1',
    950: '#000000',
  },
}
SCSS
$custom: #252eb1;
$custom-light: #7968ca;
$custom-dark: #000000;
JSON
{
  "hex": "#252eb1",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 177
  },
  "hsl": {
    "h": 236.143,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39878,
    "c": 0.20159,
    "h": 270.1
  },
  "luminance": 0.05522
}

Semantic roles & 50–950 ramp

primary
#252EB1
secondary
#C8C26A
accent
#DE3FE8
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #252EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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