#252D4E#252D4E

#252D4E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.061 H 272.1°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#252D4E
RGBrgb(37, 45, 78)
HSLhsl(228, 36%, 23%)
HSVhsv(228, 53%, 31%)
CMYKcmyk(52.6%, 42.3%, 0%, 69.4%)
CIE-LABlab(19.31, 7.15, -21.43)
CIE-LCHlch(19.31, 22.59, 288.45°)
OKLaboklab(30.7% 0.0022 -0.0605)
OKLCHoklch(30.7% 0.061 272.1)
XYZxyz(3.0760, 2.8200, 7.5885)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D4E #4E4625
analogous
#25414E #252D4E #32254E
triadic
#252D4E #4E252D #2D4E25
tetradic
#252D4E #4E2541 #4E4625 #254E32
square
#252D4E #4E2541 #4E4625 #254E32
split-complementary
#252D4E #4E3225 #414E25
monochromatic
#0A0C15 #111524 #252D4E #394578 #4C5DA1

Accessibility & contrast

On white

13.43
#252D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#252D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D4E
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D4E#FFFFFF#000000##FFFFFF
##252D4E1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21314F
Deuteranopia (green-blind)
#1D2D4D
Tritanopia (blue-blind)
#153439
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #252d4e;
/* rgb */ color: rgb(37, 45, 78);
/* oklch */ color: oklch(30.7% 0.061 272.1);
Tailwind
colors: {
  custom: {
    50: '#626580',
    500: '#252d4e',
    950: '#000000',
  },
}
SCSS
$custom: #252d4e;
$custom-light: #626580;
$custom-dark: #000000;
JSON
{
  "hex": "#252d4e",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 228.293,
    "s": 35.652,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30697,
    "c": 0.06053,
    "h": 272.1
  },
  "luminance": 0.0282
}

Semantic roles & 50–950 ramp

primary
#252D4E
secondary
#81774E
accent
#B65CCC
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05050A
muted
#797A7C

Preview Lab

Preview with #252D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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