#252491#252491

#252491 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.172 H 273.4°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#252491
RGBrgb(37, 36, 145)
HSLhsl(241, 60%, 35%)
HSVhsv(241, 75%, 57%)
CMYKcmyk(74.5%, 75.2%, 0%, 43.1%)
CIE-LABlab(22.65, 37.91, -59.25)
CIE-LCHlch(22.65, 70.34, 302.61°)
OKLaboklab(34.93% 0.0102 -0.1714)
OKLCHoklch(34.93% 0.172 273.4)
XYZxyz(6.5030, 3.6987, 27.1538)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252491 #909124
analogous
#245A91 #252491 #5B2491
triadic
#252491 #912524 #249125
tetradic
#252491 #91245A #909124 #24915B
square
#252491 #91245A #909124 #24915B
split-complementary
#252491 #915B24 #5A9124
monochromatic
#0C0C2F #181860 #252491 #3230C2 #5B59D6

Accessibility & contrast

On white

12.07
#252491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#252491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252491
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252491#FFFFFF#000000##FFFFFF
##2524911.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252491;
/* rgb */ color: rgb(37, 36, 145);
/* oklch */ color: oklch(34.9% 0.172 273.4);
Tailwind
colors: {
  custom: {
    50: '#7260b2',
    500: '#252491',
    950: '#000000',
  },
}
SCSS
$custom: #252491;
$custom-light: #7260b2;
$custom-dark: #000000;
JSON
{
  "hex": "#252491",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 240.55,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34931,
    "c": 0.17172,
    "h": 273.4
  },
  "luminance": 0.03699
}

Semantic roles & 50–950 ramp

primary
#252491
secondary
#B9BA56
accent
#E344E2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #252491

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

Preview Lab → · Contrast checker → · Palette generator →

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