#252B7F#252B7F

#252B7F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.140 H 273.3°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#252B7F
RGBrgb(37, 43, 127)
HSLhsl(236, 55%, 32%)
HSVhsv(236, 71%, 50%)
CMYKcmyk(70.9%, 66.1%, 0%, 50.2%)
CIE-LABlab(22.49, 26.98, -48.25)
CIE-LCHlch(22.49, 55.28, 299.21°)
OKLaboklab(34.27% 0.008 -0.1393)
OKLCHoklch(34.27% 0.14 273.3)
XYZxyz(5.4563, 3.6529, 20.4921)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B7F #7F7925
analogous
#25587F #252B7F #4C257F
triadic
#252B7F #7F252B #2B7F25
tetradic
#252B7F #7F2558 #7F7925 #257F4C
square
#252B7F #7F2558 #7F7925 #257F4C
split-complementary
#252B7F #7F4C25 #587F25
monochromatic
#090B20 #171B50 #252B7F #333BAE #525ACD

Accessibility & contrast

On white

12.13
#252B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#252B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B7F
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B7F#FFFFFF#000000##FFFFFF
##252B7F1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #252b7f;
/* rgb */ color: rgb(37, 43, 127);
/* oklch */ color: oklch(34.3% 0.140 273.3);
Tailwind
colors: {
  custom: {
    50: '#6d64a5',
    500: '#252b7f',
    950: '#000000',
  },
}
SCSS
$custom: #252b7f;
$custom-light: #6d64a5;
$custom-dark: #000000;
JSON
{
  "hex": "#252b7f",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 127
  },
  "hsl": {
    "h": 236,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34272,
    "c": 0.13951,
    "h": 273.3
  },
  "luminance": 0.03653
}

Semantic roles & 50–950 ramp

primary
#252B7F
secondary
#B1AA4F
accent
#D44ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #252B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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