#252496#252496

#252496 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.178 H 273.0°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#252496
RGBrgb(37, 36, 150)
HSLhsl(241, 61%, 36%)
HSVhsv(241, 76%, 59%)
CMYKcmyk(75.3%, 76%, 0%, 41.2%)
CIE-LABlab(23.19, 39.62, -61.45)
CIE-LCHlch(23.19, 73.11, 302.82°)
OKLaboklab(35.48% 0.0092 -0.1778)
OKLCHoklch(35.48% 0.178 273)
XYZxyz(6.8970, 3.8564, 29.2291)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252496 #959624
analogous
#245C96 #252496 #5E2496
triadic
#252496 #962524 #249625
tetradic
#252496 #96245C #959624 #24965E
square
#252496 #96245C #959624 #24965E
split-complementary
#252496 #965E24 #5C9624
monochromatic
#0D0C33 #191865 #252496 #3130C7 #5E5CD8

Accessibility & contrast

On white

11.86
#252496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#252496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252496
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252496#FFFFFF#000000##FFFFFF
##2524961.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003294
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #252496;
/* rgb */ color: rgb(37, 36, 150);
/* oklch */ color: oklch(35.5% 0.178 273.0);
Tailwind
colors: {
  custom: {
    50: '#7360b6',
    500: '#252496',
    950: '#000000',
  },
}
SCSS
$custom: #252496;
$custom-light: #7360b6;
$custom-dark: #000000;
JSON
{
  "hex": "#252496",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 240.526,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35476,
    "c": 0.17805,
    "h": 273
  },
  "luminance": 0.03857
}

Semantic roles & 50–950 ramp

primary
#252496
secondary
#BCBD59
accent
#E443E3
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #252496

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

Preview Lab → · Contrast checker → · Palette generator →

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