#252C96#252C96

#252C96 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.170 H 271.7°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#252C96
RGBrgb(37, 44, 150)
HSLhsl(236, 60%, 37%)
HSVhsv(236, 75%, 59%)
CMYKcmyk(75.3%, 70.7%, 0%, 41.2%)
CIE-LABlab(24.94, 34.77, -58.56)
CIE-LCHlch(24.94, 68.11, 300.70°)
OKLaboklab(36.73% 0.005 -0.1694)
OKLCHoklch(36.73% 0.17 271.7)
XYZxyz(7.1668, 4.3959, 29.3190)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C96 #968F25
analogous
#256596 #252C96 #572596
triadic
#252C96 #96252C #2C9625
tetradic
#252C96 #962565 #968F25 #259657
square
#252C96 #962565 #968F25 #259657
split-complementary
#252C96 #965725 #659625
monochromatic
#0D0F34 #191E65 #252C96 #313AC7 #5E66D7

Accessibility & contrast

On white

11.17
#252C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#252C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C96
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C96#FFFFFF#000000##FFFFFF
##252C961.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252c96;
/* rgb */ color: rgb(37, 44, 150);
/* oklch */ color: oklch(36.7% 0.170 271.7);
Tailwind
colors: {
  custom: {
    50: '#7266b6',
    500: '#252c96',
    950: '#000000',
  },
}
SCSS
$custom: #252c96;
$custom-light: #7266b6;
$custom-dark: #000000;
JSON
{
  "hex": "#252c96",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 236.283,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36727,
    "c": 0.16951,
    "h": 271.7
  },
  "luminance": 0.04397
}

Semantic roles & 50–950 ramp

primary
#252C96
secondary
#BCB65B
accent
#DA44E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #252C96

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

Preview Lab → · Contrast checker → · Palette generator →

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