#252D8D#252D8D

#252D8D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.156 H 272.0°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#252D8D
RGBrgb(37, 45, 141)
HSLhsl(235, 58%, 35%)
HSVhsv(235, 74%, 55%)
CMYKcmyk(73.8%, 68.1%, 0%, 44.7%)
CIE-LABlab(24.30, 30.85, -54.06)
CIE-LCHlch(24.30, 62.24, 299.71°)
OKLaboklab(35.99% 0.0054 -0.1563)
OKLCHoklch(35.99% 0.156 272)
XYZxyz(6.5074, 4.1925, 25.6604)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D8D #8D8525
analogous
#25618D #252D8D #51258D
triadic
#252D8D #8D252D #2D8D25
tetradic
#252D8D #8D2561 #8D8525 #258D51
square
#252D8D #8D2561 #8D8525 #258D51
split-complementary
#252D8D #8D5125 #618D25
monochromatic
#0C0E2C #181E5D #252D8D #323CBD #5962D3

Accessibility & contrast

On white

11.42
#252D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252D8D
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D8D#FFFFFF#000000##FFFFFF
##252D8D1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.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: #252d8d;
/* rgb */ color: rgb(37, 45, 141);
/* oklch */ color: oklch(36.0% 0.156 272.0);
Tailwind
colors: {
  custom: {
    50: '#7066af',
    500: '#252d8d',
    950: '#000000',
  },
}
SCSS
$custom: #252d8d;
$custom-light: #7066af;
$custom-dark: #000000;
JSON
{
  "hex": "#252d8d",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 235.385,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35995,
    "c": 0.15636,
    "h": 272
  },
  "luminance": 0.04193
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #252D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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