#252391#252391

#252391 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.173 H 273.5°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#252391
RGBrgb(37, 35, 145)
HSLhsl(241, 61%, 35%)
HSVhsv(241, 76%, 57%)
CMYKcmyk(74.5%, 75.9%, 0%, 43.1%)
CIE-LABlab(22.44, 38.49, -59.60)
CIE-LCHlch(22.44, 70.95, 302.86°)
OKLaboklab(34.78% 0.0107 -0.1724)
OKLCHoklch(34.78% 0.173 273.5)
XYZxyz(6.4731, 3.6391, 27.1438)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252391 #8F9123
analogous
#235891 #252391 #5C2391
triadic
#252391 #912523 #239125
tetradic
#252391 #912358 #8F9123 #23915C
square
#252391 #912358 #8F9123 #23915C
split-complementary
#252391 #915C23 #589123
monochromatic
#0C0B2E #181760 #252391 #322FC2 #5A58D7

Accessibility & contrast

On white

12.15
#252391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#252391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252391
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252391#FFFFFF#000000##FFFFFF
##2523911.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B94
Deuteranopia (green-blind)
#00308F
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #252391;
/* rgb */ color: rgb(37, 35, 145);
/* oklch */ color: oklch(34.8% 0.173 273.5);
Tailwind
colors: {
  custom: {
    50: '#725fb2',
    500: '#252391',
    950: '#000000',
  },
}
SCSS
$custom: #252391;
$custom-light: #725fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#252391",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 241.091,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34782,
    "c": 0.17275,
    "h": 273.5
  },
  "luminance": 0.0364
}

Semantic roles & 50–950 ramp

primary
#252391
secondary
#B9BB55
accent
#E444E1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #252391

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

Preview Lab → · Contrast checker → · Palette generator →

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