#252D8B#252D8B

#252D8B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.154 H 272.1°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#252D8B
RGBrgb(37, 45, 139)
HSLhsl(235, 58%, 35%)
HSVhsv(235, 73%, 55%)
CMYKcmyk(73.4%, 67.6%, 0%, 45.5%)
CIE-LABlab(24.11, 30.11, -53.13)
CIE-LCHlch(24.11, 61.07, 299.54°)
OKLaboklab(35.8% 0.0056 -0.1535)
OKLCHoklch(35.8% 0.154 272.1)
XYZxyz(6.3600, 4.1335, 24.8838)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D8B #8B8325
analogous
#25608B #252D8B #50258B
triadic
#252D8B #8B252D #2D8B25
tetradic
#252D8B #8B2560 #8B8325 #258B50
square
#252D8B #8B2560 #8B8325 #258B50
split-complementary
#252D8B #8B5025 #608B25
monochromatic
#0B0E2A #181D5B #252D8B #323DBB #5862D3

Accessibility & contrast

On white

11.50
#252D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#252D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D8B
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D8B#FFFFFF#000000##FFFFFF
##252D8B1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#003589
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #252d8b;
/* rgb */ color: rgb(37, 45, 139);
/* oklch */ color: oklch(35.8% 0.154 272.1);
Tailwind
colors: {
  custom: {
    50: '#6f66ae',
    500: '#252d8b',
    950: '#000000',
  },
}
SCSS
$custom: #252d8b;
$custom-light: #6f66ae;
$custom-dark: #000000;
JSON
{
  "hex": "#252d8b",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 235.294,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35798,
    "c": 0.15364,
    "h": 272.1
  },
  "luminance": 0.04134
}

Semantic roles & 50–950 ramp

primary
#252D8B
secondary
#B7AF55
accent
#D547E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #252D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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