#252E8D#252E8D

#252E8D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.155 H 271.7°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#252E8D
RGBrgb(37, 46, 141)
HSLhsl(235, 58%, 35%)
HSVhsv(235, 74%, 55%)
CMYKcmyk(73.8%, 67.4%, 0%, 44.7%)
CIE-LABlab(24.54, 30.19, -53.65)
CIE-LCHlch(24.54, 61.57, 299.37°)
OKLaboklab(36.17% 0.0047 -0.1551)
OKLCHoklch(36.17% 0.155 271.7)
XYZxyz(6.5460, 4.2697, 25.6733)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E8D #8D8425
analogous
#25628D #252E8D #50258D
triadic
#252E8D #8D252E #2E8D25
tetradic
#252E8D #8D2562 #8D8425 #258D50
square
#252E8D #8D2562 #8D8425 #258D50
split-complementary
#252E8D #8D5025 #628D25
monochromatic
#0C0E2C #181E5D #252E8D #323EBD #5964D3

Accessibility & contrast

On white

11.33
#252E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#252E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E8D
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E8D#FFFFFF#000000##FFFFFF
##252E8D1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #252e8d;
/* rgb */ color: rgb(37, 46, 141);
/* oklch */ color: oklch(36.2% 0.155 271.7);
Tailwind
colors: {
  custom: {
    50: '#7067af',
    500: '#252e8d',
    950: '#000000',
  },
}
SCSS
$custom: #252e8d;
$custom-light: #7067af;
$custom-dark: #000000;
JSON
{
  "hex": "#252e8d",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 234.808,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36174,
    "c": 0.15515,
    "h": 271.7
  },
  "luminance": 0.0427
}

Semantic roles & 50–950 ramp

primary
#252E8D
secondary
#B8B056
accent
#D446E2
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #252E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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