#252E7D#252E7D

#252E7D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.133 H 272.4°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#252E7D
RGBrgb(37, 46, 125)
HSLhsl(234, 54%, 32%)
HSVhsv(234, 70%, 49%)
CMYKcmyk(70.4%, 63.2%, 0%, 51%)
CIE-LABlab(23.09, 24.19, -46.00)
CIE-LCHlch(23.09, 51.98, 297.74°)
OKLaboklab(34.66% 0.0056 -0.1326)
OKLCHoklch(34.66% 0.133 272.4)
XYZxyz(5.4404, 3.8275, 19.8501)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E7D #7D7425
analogous
#255A7D #252E7D #48257D
triadic
#252E7D #7D252E #2E7D25
tetradic
#252E7D #7D255A #7D7425 #257D48
square
#252E7D #7D255A #7D7425 #257D48
split-complementary
#252E7D #7D4825 #5A7D25
monochromatic
#090B1F #171D4E #252E7D #333FAC #515DCB

Accessibility & contrast

On white

11.89
#252E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#252E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E7D
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E7D#FFFFFF#000000##FFFFFF
##252E7D1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #252e7d;
/* rgb */ color: rgb(37, 46, 125);
/* oklch */ color: oklch(34.7% 0.133 272.4);
Tailwind
colors: {
  custom: {
    50: '#6c66a3',
    500: '#252e7d',
    950: '#000000',
  },
}
SCSS
$custom: #252e7d;
$custom-light: #6c66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#252e7d",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 233.864,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3466,
    "c": 0.13277,
    "h": 272.4
  },
  "luminance": 0.03828
}

Semantic roles & 50–950 ramp

primary
#252E7D
secondary
#AFA54F
accent
#CF4ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #252E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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