#252D7F#252D7F

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

Color values

HEX#252D7F
RGBrgb(37, 45, 127)
HSLhsl(235, 55%, 32%)
HSVhsv(235, 71%, 50%)
CMYKcmyk(70.9%, 64.6%, 0%, 50.2%)
CIE-LABlab(23.01, 25.63, -47.41)
CIE-LCHlch(23.01, 53.89, 298.39°)
OKLaboklab(34.65% 0.0064 -0.1368)
OKLCHoklch(34.65% 0.137 272.7)
XYZxyz(5.5308, 3.8019, 20.5169)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D7F #7F7725
analogous
#255A7F #252D7F #4A257F
triadic
#252D7F #7F252D #2D7F25
tetradic
#252D7F #7F255A #7F7725 #257F4A
square
#252D7F #7F255A #7F7725 #257F4A
split-complementary
#252D7F #7F4A25 #5A7F25
monochromatic
#090B20 #171C50 #252D7F #333EAE #525DCD

Accessibility & contrast

On white

11.93
#252D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252D7F
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D7F#FFFFFF#000000##FFFFFF
##252D7F1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252d7f;
/* rgb */ color: rgb(37, 45, 127);
/* oklch */ color: oklch(34.7% 0.137 272.7);
Tailwind
colors: {
  custom: {
    50: '#6c66a5',
    500: '#252d7f',
    950: '#000000',
  },
}
SCSS
$custom: #252d7f;
$custom-light: #6c66a5;
$custom-dark: #000000;
JSON
{
  "hex": "#252d7f",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 127
  },
  "hsl": {
    "h": 234.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34651,
    "c": 0.13694,
    "h": 272.7
  },
  "luminance": 0.03802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #252D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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