#252B84#252B84

#252B84 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.146 H 273.0°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#252B84
RGBrgb(37, 43, 132)
HSLhsl(236, 56%, 33%)
HSVhsv(236, 72%, 52%)
CMYKcmyk(72%, 67.4%, 0%, 48.2%)
CIE-LABlab(22.95, 28.84, -50.64)
CIE-LCHlch(22.95, 58.28, 299.66°)
OKLaboklab(34.75% 0.0076 -0.1463)
OKLCHoklch(34.75% 0.146 273)
XYZxyz(5.7903, 3.7865, 22.2510)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B84 #847E25
analogous
#255A84 #252B84 #4F2584
triadic
#252B84 #84252B #2B8425
tetradic
#252B84 #84255A #847E25 #25844F
square
#252B84 #84255A #847E25 #25844F
split-complementary
#252B84 #844F25 #5A8425
monochromatic
#0A0C24 #181B54 #252B84 #323BB4 #545CCF

Accessibility & contrast

On white

11.95
#252B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#252B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B84
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B84#FFFFFF#000000##FFFFFF
##252B841.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003282
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #252b84;
/* rgb */ color: rgb(37, 43, 132);
/* oklch */ color: oklch(34.8% 0.146 273.0);
Tailwind
colors: {
  custom: {
    50: '#6e64a9',
    500: '#252b84',
    950: '#000000',
  },
}
SCSS
$custom: #252b84;
$custom-light: #6e64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#252b84",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 236.211,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34753,
    "c": 0.14649,
    "h": 273
  },
  "luminance": 0.03787
}

Semantic roles & 50–950 ramp

primary
#252B84
secondary
#B3AD51
accent
#D648E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #252B84

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

Preview Lab → · Contrast checker → · Palette generator →

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