#252C91#252C91

#252C91 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.163 H 272.0°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#252C91
RGBrgb(37, 44, 145)
HSLhsl(236, 59%, 36%)
HSVhsv(236, 74%, 57%)
CMYKcmyk(74.5%, 69.7%, 0%, 43.1%)
CIE-LABlab(24.44, 32.96, -56.30)
CIE-LCHlch(24.44, 65.24, 300.35°)
OKLaboklab(36.22% 0.0056 -0.1628)
OKLCHoklch(36.22% 0.163 272)
XYZxyz(6.7727, 4.2383, 27.2437)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C91 #918A25
analogous
#256291 #252C91 #542591
triadic
#252C91 #91252C #2C9125
tetradic
#252C91 #912562 #918A25 #259154
square
#252C91 #912562 #918A25 #259154
split-complementary
#252C91 #915425 #629125
monochromatic
#0C0E2F #191D60 #252C91 #313BC2 #5B63D5

Accessibility & contrast

On white

11.36
#252C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#252C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C91
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C91#FFFFFF#000000##FFFFFF
##252C911.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252c91;
/* rgb */ color: rgb(37, 44, 145);
/* oklch */ color: oklch(36.2% 0.163 272.0);
Tailwind
colors: {
  custom: {
    50: '#7165b2',
    500: '#252c91',
    950: '#000000',
  },
}
SCSS
$custom: #252c91;
$custom-light: #7165b2;
$custom-dark: #000000;
JSON
{
  "hex": "#252c91",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 236.111,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36219,
    "c": 0.16292,
    "h": 272
  },
  "luminance": 0.04239
}

Semantic roles & 50–950 ramp

primary
#252C91
secondary
#BAB458
accent
#D845E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #252C91

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

Preview Lab → · Contrast checker → · Palette generator →

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