#252191#252191

#252191 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.175 H 273.8°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#252191
RGBrgb(37, 33, 145)
HSLhsl(242, 63%, 35%)
HSVhsv(242, 77%, 57%)
CMYKcmyk(74.5%, 77.2%, 0%, 43.1%)
CIE-LABlab(22.03, 39.65, -60.27)
CIE-LCHlch(22.03, 72.14, 303.34°)
OKLaboklab(34.49% 0.0116 -0.1743)
OKLCHoklch(34.49% 0.175 273.8)
XYZxyz(6.4159, 3.5247, 27.1248)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252191 #8D9121
analogous
#215591 #252191 #5D2191
triadic
#252191 #912521 #219125
tetradic
#252191 #912155 #8D9121 #21915D
square
#252191 #912155 #8D9121 #21915D
split-complementary
#252191 #915D21 #559121
monochromatic
#0C0A2D #18165F #252191 #322CC3 #5954D8

Accessibility & contrast

On white

12.32
#252191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#252191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252191
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252191#FFFFFF#000000##FFFFFF
##2521911.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A94
Deuteranopia (green-blind)
#002F8F
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #252191;
/* rgb */ color: rgb(37, 33, 145);
/* oklch */ color: oklch(34.5% 0.175 273.8);
Tailwind
colors: {
  custom: {
    50: '#725eb2',
    500: '#252191',
    950: '#000000',
  },
}
SCSS
$custom: #252191;
$custom-light: #725eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#252191",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 242.143,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34494,
    "c": 0.17474,
    "h": 273.8
  },
  "luminance": 0.03525
}

Semantic roles & 50–950 ramp

primary
#252191
secondary
#B8BC52
accent
#E642E0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #252191

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

Preview Lab → · Contrast checker → · Palette generator →

#252191 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva