#252B91#252B91

#252B91 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.164 H 272.2°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#252B91
RGBrgb(37, 43, 145)
HSLhsl(237, 59%, 36%)
HSVhsv(237, 74%, 57%)
CMYKcmyk(74.5%, 70.3%, 0%, 43.1%)
CIE-LABlab(24.21, 33.60, -56.68)
CIE-LCHlch(24.21, 65.89, 300.66°)
OKLaboklab(36.05% 0.0062 -0.164)
OKLCHoklch(36.05% 0.164 272.2)
XYZxyz(6.7359, 4.1647, 27.2314)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B91 #918B25
analogous
#256191 #252B91 #552591
triadic
#252B91 #91252B #2B9125
tetradic
#252B91 #912561 #918B25 #259155
square
#252B91 #912561 #918B25 #259155
split-complementary
#252B91 #915525 #619125
monochromatic
#0C0E2F #191D60 #252B91 #3139C2 #5B62D5

Accessibility & contrast

On white

11.46
#252B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#252B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B91
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B91#FFFFFF#000000##FFFFFF
##252B911.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F94
Deuteranopia (green-blind)
#00348F
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #252b91;
/* rgb */ color: rgb(37, 43, 145);
/* oklch */ color: oklch(36.0% 0.164 272.2);
Tailwind
colors: {
  custom: {
    50: '#7165b2',
    500: '#252b91',
    950: '#000000',
  },
}
SCSS
$custom: #252b91;
$custom-light: #7165b2;
$custom-dark: #000000;
JSON
{
  "hex": "#252b91",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 236.667,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36048,
    "c": 0.16407,
    "h": 272.2
  },
  "luminance": 0.04165
}

Semantic roles & 50–950 ramp

primary
#252B91
secondary
#BAB558
accent
#DA45E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #252B91

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

Preview Lab → · Contrast checker → · Palette generator →

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