#252E8A#252E8A

#252E8A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.151 H 271.9°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#252E8A
RGBrgb(37, 46, 138)
HSLhsl(235, 58%, 34%)
HSVhsv(235, 73%, 54%)
CMYKcmyk(73.2%, 66.7%, 0%, 45.9%)
CIE-LABlab(24.26, 29.08, -52.25)
CIE-LCHlch(24.26, 59.80, 299.10°)
OKLaboklab(35.88% 0.005 -0.151)
OKLCHoklch(35.88% 0.151 271.9)
XYZxyz(6.3258, 4.1817, 24.5136)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E8A #8A8125
analogous
#25618A #252E8A #4E258A
triadic
#252E8A #8A252E #2E8A25
tetradic
#252E8A #8A2561 #8A8125 #258A4E
square
#252E8A #8A2561 #8A8125 #258A4E
split-complementary
#252E8A #8A4E25 #618A25
monochromatic
#0B0E29 #181E5A #252E8A #323EBA #5762D2

Accessibility & contrast

On white

11.44
#252E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#252E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E8A
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E8A#FFFFFF#000000##FFFFFF
##252E8A1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #252e8a;
/* rgb */ color: rgb(37, 46, 138);
/* oklch */ color: oklch(35.9% 0.151 271.9);
Tailwind
colors: {
  custom: {
    50: '#6f67ad',
    500: '#252e8a',
    950: '#000000',
  },
}
SCSS
$custom: #252e8a;
$custom-light: #6f67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#252e8a",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 234.653,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35883,
    "c": 0.15105,
    "h": 271.9
  },
  "luminance": 0.04182
}

Semantic roles & 50–950 ramp

primary
#252E8A
secondary
#B7AE54
accent
#D347E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #252E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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