#252386#252386

#252386 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.159 H 274.6°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#252386
RGBrgb(37, 35, 134)
HSLhsl(241, 59%, 33%)
HSVhsv(241, 74%, 53%)
CMYKcmyk(72.4%, 73.9%, 0%, 47.5%)
CIE-LABlab(21.27, 34.68, -54.67)
CIE-LCHlch(21.27, 64.74, 302.39°)
OKLaboklab(33.6% 0.0127 -0.158)
OKLCHoklch(33.6% 0.159 274.6)
XYZxyz(5.6656, 3.3161, 22.8911)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252386 #848623
analogous
#235286 #252386 #562386
triadic
#252386 #862523 #238625
tetradic
#252386 #862352 #848623 #238656
square
#252386 #862352 #848623 #238656
split-complementary
#252386 #865623 #528623
monochromatic
#0A0A25 #181655 #252386 #3230B7 #5452D2

Accessibility & contrast

On white

12.62
#252386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#252386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252386
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252386#FFFFFF#000000##FFFFFF
##2523861.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #252386;
/* rgb */ color: rgb(37, 35, 134);
/* oklch */ color: oklch(33.6% 0.159 274.6);
Tailwind
colors: {
  custom: {
    50: '#6f5faa',
    500: '#252386',
    950: '#000000',
  },
}
SCSS
$custom: #252386;
$custom-light: #6f5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#252386",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 241.212,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33597,
    "c": 0.15856,
    "h": 274.6
  },
  "luminance": 0.03317
}

Semantic roles & 50–950 ramp

primary
#252386
secondary
#B3B54F
accent
#E246DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #252386

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

Preview Lab → · Contrast checker → · Palette generator →

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