#252396#252396

#252396 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.179 H 273.1°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#252396
RGBrgb(37, 35, 150)
HSLhsl(241, 62%, 36%)
HSVhsv(241, 77%, 59%)
CMYKcmyk(75.3%, 76.7%, 0%, 41.2%)
CIE-LABlab(22.99, 40.20, -61.78)
CIE-LCHlch(22.99, 73.71, 303.05°)
OKLaboklab(35.33% 0.0097 -0.1788)
OKLCHoklch(35.33% 0.179 273.1)
XYZxyz(6.8672, 3.7967, 29.2192)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252396 #949623
analogous
#235B96 #252396 #5F2396
triadic
#252396 #962523 #239625
tetradic
#252396 #96235B #949623 #23965F
square
#252396 #96235B #949623 #23965F
split-complementary
#252396 #965F23 #5B9623
monochromatic
#0D0C33 #191764 #252396 #312FC8 #5D5BD9

Accessibility & contrast

On white

11.94
#252396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#252396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252396
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252396#FFFFFF#000000##FFFFFF
##2523961.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252396;
/* rgb */ color: rgb(37, 35, 150);
/* oklch */ color: oklch(35.3% 0.179 273.1);
Tailwind
colors: {
  custom: {
    50: '#7360b6',
    500: '#252396',
    950: '#000000',
  },
}
SCSS
$custom: #252396;
$custom-light: #7360b6;
$custom-dark: #000000;
JSON
{
  "hex": "#252396",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 241.043,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35332,
    "c": 0.17904,
    "h": 273.1
  },
  "luminance": 0.03797
}

Semantic roles & 50–950 ramp

primary
#252396
secondary
#BBBD58
accent
#E543E2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #252396

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

Preview Lab → · Contrast checker → · Palette generator →

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