#252EA9#252EA9

#252EA9 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.192 H 270.5°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#252EA9
RGBrgb(37, 46, 169)
HSLhsl(236, 64%, 40%)
HSVhsv(236, 78%, 66%)
CMYKcmyk(78.1%, 72.8%, 0%, 33.7%)
CIE-LABlab(27.33, 40.28, -66.19)
CIE-LCHlch(27.33, 77.48, 301.33°)
OKLaboklab(39.03% 0.0015 -0.1917)
OKLCHoklch(39.03% 0.192 270.5)
XYZxyz(8.8989, 5.2109, 38.0652)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252EA9 #A9A025
analogous
#2570A9 #252EA9 #5E25A9
triadic
#252EA9 #A9252E #2EA925
tetradic
#252EA9 #A92570 #A9A025 #25A95E
square
#252EA9 #A92570 #A9A025 #25A95E
split-complementary
#252EA9 #A95E25 #70A925
monochromatic
#0F1345 #1A2077 #252EA9 #3842D3 #6A72DE

Accessibility & contrast

On white

10.28
#252EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#252EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252EA9
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252EA9#FFFFFF#000000##FFFFFF
##252EA91.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003AA7
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #252ea9;
/* rgb */ color: rgb(37, 46, 169);
/* oklch */ color: oklch(39.0% 0.192 270.5);
Tailwind
colors: {
  custom: {
    50: '#7768c4',
    500: '#252ea9',
    950: '#000000',
  },
}
SCSS
$custom: #252ea9;
$custom-light: #7768c4;
$custom-dark: #000000;
JSON
{
  "hex": "#252ea9",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 235.909,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39026,
    "c": 0.19168,
    "h": 270.5
  },
  "luminance": 0.05212
}

Semantic roles & 50–950 ramp

primary
#252EA9
secondary
#C4BE65
accent
#DC41E7
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #252EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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