#252D5E#252D5E

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

Color values

HEX#252D5E
RGBrgb(37, 45, 94)
HSLhsl(232, 44%, 26%)
HSVhsv(232, 61%, 37%)
CMYKcmyk(60.6%, 52.1%, 0%, 63.1%)
CIE-LABlab(20.35, 13.08, -30.43)
CIE-LCHlch(20.35, 33.12, 293.26°)
OKLaboklab(31.84% 0.0053 -0.0869)
OKLCHoklch(31.84% 0.087 273.5)
XYZxyz(3.7211, 3.0780, 10.9855)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D5E #5E5625
analogous
#25495E #252D5E #39255E
triadic
#252D5E #5E252D #2D5E25
tetradic
#252D5E #5E2549 #5E5625 #255E39
square
#252D5E #5E2549 #5E5625 #255E39
split-complementary
#252D5E #5E3925 #495E25
monochromatic
#090B16 #141832 #252D5E #36428A #4857B6

Accessibility & contrast

On white

13.00
#252D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#252D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D5E
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D5E#FFFFFF#000000##FFFFFF
##252D5E1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153460
Deuteranopia (green-blind)
#0D2F5D
Tritanopia (blue-blind)
#043841
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #252d5e;
/* rgb */ color: rgb(37, 45, 94);
/* oklch */ color: oklch(31.8% 0.087 273.5);
Tailwind
colors: {
  custom: {
    50: '#65658c',
    500: '#252d5e',
    950: '#000000',
  },
}
SCSS
$custom: #252d5e;
$custom-light: #65658c;
$custom-dark: #000000;
JSON
{
  "hex": "#252d5e",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 94
  },
  "hsl": {
    "h": 231.579,
    "s": 43.511,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31835,
    "c": 0.08703,
    "h": 273.5
  },
  "luminance": 0.03078
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #252D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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