#252B5D#252B5D

#252B5D is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.3% C 0.088 H 274.9°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#252B5D
RGBrgb(37, 43, 93)
HSLhsl(234, 43%, 25%)
HSVhsv(234, 60%, 36%)
CMYKcmyk(60.2%, 53.8%, 0%, 63.5%)
CIE-LABlab(19.68, 14.14, -30.84)
CIE-LCHlch(19.68, 33.93, 294.62°)
OKLaboklab(31.31% 0.0076 -0.0881)
OKLCHoklch(31.31% 0.088 274.9)
XYZxyz(3.6020, 2.9111, 10.7259)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B5D #5D5725
analogous
#25475D #252B5D #3B255D
triadic
#252B5D #5D252B #2B5D25
tetradic
#252B5D #5D2547 #5D5725 #255D3B
square
#252B5D #5D2547 #5D5725 #255D3B
split-complementary
#252B5D #5D3B25 #475D25
monochromatic
#090A16 #141731 #252B5D #363F89 #4853B5

Accessibility & contrast

On white

13.27
#252B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252B5D
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B5D#FFFFFF#000000##FFFFFF
##252B5D1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11325F
Deuteranopia (green-blind)
#092D5C
Tritanopia (blue-blind)
#06363F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #252b5d;
/* rgb */ color: rgb(37, 43, 93);
/* oklch */ color: oklch(31.3% 0.088 274.9);
Tailwind
colors: {
  custom: {
    50: '#65648b',
    500: '#252b5d',
    950: '#000000',
  },
}
SCSS
$custom: #252b5d;
$custom-light: #65648b;
$custom-dark: #000000;
JSON
{
  "hex": "#252b5d",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 93
  },
  "hsl": {
    "h": 233.571,
    "s": 43.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31306,
    "c": 0.08844,
    "h": 274.9
  },
  "luminance": 0.02911
}

Semantic roles & 50–950 ramp

primary
#252B5D
secondary
#90894D
accent
#C555D3
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #252B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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