#252B7D#252B7D

#252B7D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.137 H 273.4°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#252B7D
RGBrgb(37, 43, 125)
HSLhsl(236, 54%, 32%)
HSVhsv(236, 70%, 49%)
CMYKcmyk(70.4%, 65.6%, 0%, 51%)
CIE-LABlab(22.31, 26.23, -47.29)
CIE-LCHlch(22.31, 54.08, 299.02°)
OKLaboklab(34.08% 0.0081 -0.1364)
OKLCHoklch(34.08% 0.137 273.4)
XYZxyz(5.3273, 3.6012, 19.8124)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B7D #7D7725
analogous
#25577D #252B7D #4B257D
triadic
#252B7D #7D252B #2B7D25
tetradic
#252B7D #7D2557 #7D7725 #257D4B
square
#252B7D #7D2557 #7D7725 #257D4B
split-complementary
#252B7D #7D4B25 #577D25
monochromatic
#090B1F #171B4E #252B7D #333BAC #5159CB

Accessibility & contrast

On white

12.21
#252B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#252B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B7D
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B7D#FFFFFF#000000##FFFFFF
##252B7D1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00317B
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #252b7d;
/* rgb */ color: rgb(37, 43, 125);
/* oklch */ color: oklch(34.1% 0.137 273.4);
Tailwind
colors: {
  custom: {
    50: '#6c64a3',
    500: '#252b7d',
    950: '#000000',
  },
}
SCSS
$custom: #252b7d;
$custom-light: #6c64a3;
$custom-dark: #000000;
JSON
{
  "hex": "#252b7d",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 235.909,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34082,
    "c": 0.13669,
    "h": 273.4
  },
  "luminance": 0.03602
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #252B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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