#252D76#252D76

#252D76 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.8% C 0.124 H 273.1°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#252D76
RGBrgb(37, 45, 118)
HSLhsl(234, 52%, 30%)
HSVhsv(234, 69%, 46%)
CMYKcmyk(68.6%, 61.9%, 0%, 53.7%)
CIE-LABlab(22.22, 22.22, -42.97)
CIE-LCHlch(22.22, 48.38, 297.34°)
OKLaboklab(33.83% 0.0066 -0.1238)
OKLCHoklch(33.83% 0.124 273.1)
XYZxyz(4.9703, 3.5776, 17.5647)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D76 #766E25
analogous
#255576 #252D76 #452576
triadic
#252D76 #76252D #2D7625
tetradic
#252D76 #762555 #766E25 #257645
square
#252D76 #762555 #766E25 #257645
split-complementary
#252D76 #764525 #557625
monochromatic
#080919 #161B47 #252D76 #343FA5 #4E5AC7

Accessibility & contrast

On white

12.24
#252D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#252D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D76
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D76#FFFFFF#000000##FFFFFF
##252D761.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #252d76;
/* rgb */ color: rgb(37, 45, 118);
/* oklch */ color: oklch(33.8% 0.124 273.1);
Tailwind
colors: {
  custom: {
    50: '#6a659e',
    500: '#252d76',
    950: '#000000',
  },
}
SCSS
$custom: #252d76;
$custom-light: #6a659e;
$custom-dark: #000000;
JSON
{
  "hex": "#252d76",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 118
  },
  "hsl": {
    "h": 234.074,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33829,
    "c": 0.12394,
    "h": 273.1
  },
  "luminance": 0.03578
}

Semantic roles & 50–950 ramp

primary
#252D76
secondary
#A9A04E
accent
#CE4CDC
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #252D76

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

Preview Lab → · Contrast checker → · Palette generator →

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