#252E76#252E76

#252E76 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.0% C 0.123 H 272.7°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#252E76
RGBrgb(37, 46, 118)
HSLhsl(233, 52%, 30%)
HSVhsv(233, 69%, 46%)
CMYKcmyk(68.6%, 61%, 0%, 53.7%)
CIE-LABlab(22.50, 21.53, -42.53)
CIE-LCHlch(22.50, 47.67, 296.85°)
OKLaboklab(34.03% 0.0057 -0.1224)
OKLCHoklch(34.03% 0.123 272.7)
XYZxyz(5.0089, 3.6549, 17.5775)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E76 #766D25
analogous
#255676 #252E76 #442576
triadic
#252E76 #76252E #2E7625
tetradic
#252E76 #762556 #766D25 #257644
square
#252E76 #762556 #766D25 #257644
split-complementary
#252E76 #764425 #567625
monochromatic
#080A19 #161C47 #252E76 #3440A5 #4E5BC7

Accessibility & contrast

On white

12.13
#252E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#252E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E76
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E76#FFFFFF#000000##FFFFFF
##252E761.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #252e76;
/* rgb */ color: rgb(37, 46, 118);
/* oklch */ color: oklch(34.0% 0.123 272.7);
Tailwind
colors: {
  custom: {
    50: '#6a669e',
    500: '#252e76',
    950: '#000000',
  },
}
SCSS
$custom: #252e76;
$custom-light: #6a669e;
$custom-dark: #000000;
JSON
{
  "hex": "#252e76",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 233.333,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34031,
    "c": 0.12257,
    "h": 272.7
  },
  "luminance": 0.03655
}

Semantic roles & 50–950 ramp

primary
#252E76
secondary
#A99F4E
accent
#CC4CDC
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #252E76

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

Preview Lab → · Contrast checker → · Palette generator →

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