#252D7E#252D7E

#252D7E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.136 H 272.7°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#252D7E
RGBrgb(37, 45, 126)
HSLhsl(235, 55%, 32%)
HSVhsv(235, 71%, 49%)
CMYKcmyk(70.6%, 64.3%, 0%, 50.6%)
CIE-LABlab(22.92, 25.25, -46.92)
CIE-LCHlch(22.92, 53.29, 298.29°)
OKLaboklab(34.56% 0.0064 -0.1354)
OKLCHoklch(34.56% 0.136 272.7)
XYZxyz(5.4660, 3.7759, 20.1754)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D7E #7E7625
analogous
#255A7E #252D7E #4A257E
triadic
#252D7E #7E252D #2D7E25
tetradic
#252D7E #7E255A #7E7625 #257E4A
square
#252D7E #7E255A #7E7625 #257E4A
split-complementary
#252D7E #7E4A25 #5A7E25
monochromatic
#090B1F #171C4F #252D7E #333EAD #515CCC

Accessibility & contrast

On white

11.96
#252D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#252D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D7E
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D7E#FFFFFF#000000##FFFFFF
##252D7E1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252d7e;
/* rgb */ color: rgb(37, 45, 126);
/* oklch */ color: oklch(34.6% 0.136 272.7);
Tailwind
colors: {
  custom: {
    50: '#6c66a4',
    500: '#252d7e',
    950: '#000000',
  },
}
SCSS
$custom: #252d7e;
$custom-light: #6c66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#252d7e",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 234.607,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34558,
    "c": 0.13551,
    "h": 272.7
  },
  "luminance": 0.03776
}

Semantic roles & 50–950 ramp

primary
#252D7E
secondary
#B0A74F
accent
#D14ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #252D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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