#252C92#252C92

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

Color values

HEX#252C92
RGBrgb(37, 44, 146)
HSLhsl(236, 60%, 36%)
HSVhsv(236, 75%, 57%)
CMYKcmyk(74.7%, 69.9%, 0%, 42.7%)
CIE-LABlab(24.54, 33.33, -56.75)
CIE-LCHlch(24.54, 65.81, 300.42°)
OKLaboklab(36.32% 0.0055 -0.1641)
OKLCHoklch(36.32% 0.164 271.9)
XYZxyz(6.8502, 4.2693, 27.6516)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C92 #928B25
analogous
#256292 #252C92 #542592
triadic
#252C92 #92252C #2C9225
tetradic
#252C92 #922562 #928B25 #259254
square
#252C92 #922562 #928B25 #259254
split-complementary
#252C92 #925425 #629225
monochromatic
#0C0F30 #191D61 #252C92 #313BC3 #5C64D6

Accessibility & contrast

On white

11.33
#252C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252C92
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C92#FFFFFF#000000##FFFFFF
##252C921.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003590
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #252c92;
/* rgb */ color: rgb(37, 44, 146);
/* oklch */ color: oklch(36.3% 0.164 271.9);
Tailwind
colors: {
  custom: {
    50: '#7165b3',
    500: '#252c92',
    950: '#000000',
  },
}
SCSS
$custom: #252c92;
$custom-light: #7165b3;
$custom-dark: #000000;
JSON
{
  "hex": "#252c92",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 236.147,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3632,
    "c": 0.16424,
    "h": 271.9
  },
  "luminance": 0.0427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #252C92

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

Preview Lab → · Contrast checker → · Palette generator →

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