#252E84#252E84

#252E84 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.143 H 272.1°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#252E84
RGBrgb(37, 46, 132)
HSLhsl(234, 56%, 33%)
HSVhsv(234, 72%, 52%)
CMYKcmyk(72%, 65.2%, 0%, 48.2%)
CIE-LABlab(23.71, 26.83, -49.40)
CIE-LCHlch(23.71, 56.22, 298.51°)
OKLaboklab(35.31% 0.0053 -0.1426)
OKLCHoklch(35.31% 0.143 272.1)
XYZxyz(5.9034, 4.0127, 22.2887)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E84 #847B25
analogous
#255D84 #252E84 #4B2584
triadic
#252E84 #84252E #2E8425
tetradic
#252E84 #84255D #847B25 #25844B
square
#252E84 #84255D #847B25 #25844B
split-complementary
#252E84 #844B25 #5D8425
monochromatic
#0A0D24 #181D54 #252E84 #323FB4 #5460CF

Accessibility & contrast

On white

11.65
#252E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#252E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E84
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E84#FFFFFF#000000##FFFFFF
##252E841.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003482
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #252e84;
/* rgb */ color: rgb(37, 46, 132);
/* oklch */ color: oklch(35.3% 0.143 272.1);
Tailwind
colors: {
  custom: {
    50: '#6d66a9',
    500: '#252e84',
    950: '#000000',
  },
}
SCSS
$custom: #252e84;
$custom-light: #6d66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#252e84",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 234.316,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3531,
    "c": 0.14272,
    "h": 272.1
  },
  "luminance": 0.04013
}

Semantic roles & 50–950 ramp

primary
#252E84
secondary
#B3AA51
accent
#D148E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #252E84

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

Preview Lab → · Contrast checker → · Palette generator →

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