#252E4D#252E4D

#252E4D is a dark, muted blue. Relative luminance 0.029; OKLCH L 30.9% C 0.057 H 270.5°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#252E4D
RGBrgb(37, 46, 77)
HSLhsl(227, 35%, 22%)
HSVhsv(227, 52%, 30%)
CMYKcmyk(51.9%, 40.3%, 0%, 69.8%)
CIE-LABlab(19.57, 6.08, -20.34)
CIE-LCHlch(19.57, 21.23, 286.63°)
OKLaboklab(30.88% 0.0005 -0.0573)
OKLCHoklch(30.88% 0.057 270.5)
XYZxyz(3.0791, 2.8829, 7.4140)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E4D #4D4425
analogous
#25424D #252E4D #30254D
triadic
#252E4D #4D252E #2E4D25
tetradic
#252E4D #4D2542 #4D4425 #254D30
square
#252E4D #4D2542 #4D4425 #254D30
split-complementary
#252E4D #4D3025 #424D25
monochromatic
#0A0C15 #111524 #252E4D #394776 #4D5FA0

Accessibility & contrast

On white

13.32
#252E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#252E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E4D
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E4D#FFFFFF#000000##FFFFFF
##252E4D1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22314E
Deuteranopia (green-blind)
#1F2E4C
Tritanopia (blue-blind)
#163439
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #252e4d;
/* rgb */ color: rgb(37, 46, 77);
/* oklch */ color: oklch(30.9% 0.057 270.5);
Tailwind
colors: {
  custom: {
    50: '#62667f',
    500: '#252e4d',
    950: '#000000',
  },
}
SCSS
$custom: #252e4d;
$custom-light: #62667f;
$custom-dark: #000000;
JSON
{
  "hex": "#252e4d",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 77
  },
  "hsl": {
    "h": 226.5,
    "s": 35.088,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30879,
    "c": 0.05732,
    "h": 270.5
  },
  "luminance": 0.02883
}

Semantic roles & 50–950 ramp

primary
#252E4D
secondary
#80754E
accent
#B25DCB
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05050A
muted
#797A7C

Preview Lab

Preview with #252E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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