#252D7D#252D7D

#252D7D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.134 H 272.8°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#252D7D
RGBrgb(37, 45, 125)
HSLhsl(235, 54%, 32%)
HSVhsv(235, 70%, 49%)
CMYKcmyk(70.4%, 64%, 0%, 51%)
CIE-LABlab(22.83, 24.87, -46.44)
CIE-LCHlch(22.83, 52.68, 298.18°)
OKLaboklab(34.47% 0.0065 -0.1339)
OKLCHoklch(34.47% 0.134 272.8)
XYZxyz(5.4018, 3.7503, 19.8373)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D7D #7D7525
analogous
#25597D #252D7D #49257D
triadic
#252D7D #7D252D #2D7D25
tetradic
#252D7D #7D2559 #7D7525 #257D49
square
#252D7D #7D2559 #7D7525 #257D49
split-complementary
#252D7D #7D4925 #597D25
monochromatic
#090B1F #171C4E #252D7D #333EAC #515CCB

Accessibility & contrast

On white

12.00
#252D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#252D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D7D
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D7D#FFFFFF#000000##FFFFFF
##252D7D1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252d7d;
/* rgb */ color: rgb(37, 45, 125);
/* oklch */ color: oklch(34.5% 0.134 272.8);
Tailwind
colors: {
  custom: {
    50: '#6c66a3',
    500: '#252d7d',
    950: '#000000',
  },
}
SCSS
$custom: #252d7d;
$custom-light: #6c66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#252d7d",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 125
  },
  "hsl": {
    "h": 234.545,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34465,
    "c": 0.13409,
    "h": 272.8
  },
  "luminance": 0.03751
}

Semantic roles & 50–950 ramp

primary
#252D7D
secondary
#AFA64F
accent
#D04ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #252D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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