#252D5D#252D5D

#252D5D is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.085 H 273.4°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#252D5D
RGBrgb(37, 45, 93)
HSLhsl(231, 43%, 25%)
HSVhsv(231, 60%, 36%)
CMYKcmyk(60.2%, 51.6%, 0%, 63.5%)
CIE-LABlab(20.28, 12.70, -29.88)
CIE-LCHlch(20.28, 32.47, 293.03°)
OKLaboklab(31.76% 0.0051 -0.0853)
OKLCHoklch(31.76% 0.085 273.4)
XYZxyz(3.6765, 3.0601, 10.7507)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D5D #5D5525
analogous
#25495D #252D5D #39255D
triadic
#252D5D #5D252D #2D5D25
tetradic
#252D5D #5D2549 #5D5525 #255D39
square
#252D5D #5D2549 #5D5525 #255D39
split-complementary
#252D5D #5D3925 #495D25
monochromatic
#090B16 #141831 #252D5D #364289 #4857B5

Accessibility & contrast

On white

13.03
#252D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#252D5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D5D
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D5D#FFFFFF#000000##FFFFFF
##252D5D1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16335F
Deuteranopia (green-blind)
#0E2F5C
Tritanopia (blue-blind)
#053840
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #252d5d;
/* rgb */ color: rgb(37, 45, 93);
/* oklch */ color: oklch(31.8% 0.085 273.4);
Tailwind
colors: {
  custom: {
    50: '#65658b',
    500: '#252d5d',
    950: '#000000',
  },
}
SCSS
$custom: #252d5d;
$custom-light: #65658b;
$custom-dark: #000000;
JSON
{
  "hex": "#252d5d",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 93
  },
  "hsl": {
    "h": 231.429,
    "s": 43.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31759,
    "c": 0.08541,
    "h": 273.4
  },
  "luminance": 0.0306
}

Semantic roles & 50–950 ramp

primary
#252D5D
secondary
#90874D
accent
#C155D3
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #252D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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