#252B96#252B96

#252B96 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.171 H 271.9°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#252B96
RGBrgb(37, 43, 150)
HSLhsl(237, 60%, 37%)
HSVhsv(237, 75%, 59%)
CMYKcmyk(75.3%, 71.3%, 0%, 41.2%)
CIE-LABlab(24.71, 35.40, -58.94)
CIE-LCHlch(24.71, 68.76, 300.99°)
OKLaboklab(36.56% 0.0056 -0.1705)
OKLCHoklch(36.56% 0.171 271.9)
XYZxyz(7.1300, 4.3223, 29.3068)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B96 #969025
analogous
#256496 #252B96 #582596
triadic
#252B96 #96252B #2B9625
tetradic
#252B96 #962564 #969025 #259658
square
#252B96 #962564 #969025 #259658
split-complementary
#252B96 #965825 #649625
monochromatic
#0D0F34 #191D65 #252B96 #3139C7 #5E65D7

Accessibility & contrast

On white

11.26
#252B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#252B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B96
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B96#FFFFFF#000000##FFFFFF
##252B961.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #252b96;
/* rgb */ color: rgb(37, 43, 150);
/* oklch */ color: oklch(36.6% 0.171 271.9);
Tailwind
colors: {
  custom: {
    50: '#7265b6',
    500: '#252b96',
    950: '#000000',
  },
}
SCSS
$custom: #252b96;
$custom-light: #7265b6;
$custom-dark: #000000;
JSON
{
  "hex": "#252b96",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 236.814,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36561,
    "c": 0.17063,
    "h": 271.9
  },
  "luminance": 0.04323
}

Semantic roles & 50–950 ramp

primary
#252B96
secondary
#BCB75B
accent
#DB44E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #252B96

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

Preview Lab → · Contrast checker → · Palette generator →

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