#252D7B#252D7B

#252D7B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.131 H 272.9°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#252D7B
RGBrgb(37, 45, 123)
HSLhsl(234, 54%, 31%)
HSVhsv(234, 70%, 48%)
CMYKcmyk(69.9%, 63.4%, 0%, 51.8%)
CIE-LABlab(22.65, 24.12, -45.45)
CIE-LCHlch(22.65, 51.46, 297.95°)
OKLaboklab(34.28% 0.0065 -0.131)
OKLCHoklch(34.28% 0.131 272.9)
XYZxyz(5.2753, 3.6997, 19.1712)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D7B #7B7325
analogous
#25587B #252D7B #48257B
triadic
#252D7B #7B252D #2D7B25
tetradic
#252D7B #7B2558 #7B7325 #257B48
square
#252D7B #7B2558 #7B7325 #257B48
split-complementary
#252D7B #7B4825 #587B25
monochromatic
#090B1D #171C4C #252D7B #333EAA #505BCA

Accessibility & contrast

On white

12.07
#252D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#252D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D7B
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D7B#FFFFFF#000000##FFFFFF
##252D7B1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #252d7b;
/* rgb */ color: rgb(37, 45, 123);
/* oklch */ color: oklch(34.3% 0.131 272.9);
Tailwind
colors: {
  custom: {
    50: '#6b66a2',
    500: '#252d7b',
    950: '#000000',
  },
}
SCSS
$custom: #252d7b;
$custom-light: #6b66a2;
$custom-dark: #000000;
JSON
{
  "hex": "#252d7b",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 234.419,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34281,
    "c": 0.13121,
    "h": 272.9
  },
  "luminance": 0.037
}

Semantic roles & 50–950 ramp

primary
#252D7B
secondary
#ADA44F
accent
#D04BDD
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #252D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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