#252186#252186

#252186 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.161 H 275.0°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#252186
RGBrgb(37, 33, 134)
HSLhsl(242, 60%, 33%)
HSVhsv(242, 75%, 53%)
CMYKcmyk(72.4%, 75.4%, 0%, 47.5%)
CIE-LABlab(20.83, 35.89, -55.38)
CIE-LCHlch(20.83, 66.00, 302.94°)
OKLaboklab(33.29% 0.0139 -0.1601)
OKLCHoklch(33.29% 0.161 275)
XYZxyz(5.6085, 3.2017, 22.8721)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252186 #828621
analogous
#215086 #252186 #572186
triadic
#252186 #862521 #218625
tetradic
#252186 #862150 #828621 #218657
square
#252186 #862150 #828621 #218657
split-complementary
#252186 #865721 #508621
monochromatic
#0A0924 #171555 #252186 #332DB7 #534ED3

Accessibility & contrast

On white

12.80
#252186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#252186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252186
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252186#FFFFFF#000000##FFFFFF
##2521861.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002D84
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #252186;
/* rgb */ color: rgb(37, 33, 134);
/* oklch */ color: oklch(33.3% 0.161 275.0);
Tailwind
colors: {
  custom: {
    50: '#6f5eaa',
    500: '#252186',
    950: '#000000',
  },
}
SCSS
$custom: #252186;
$custom-light: #6f5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#252186",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 242.376,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33288,
    "c": 0.16073,
    "h": 275
  },
  "luminance": 0.03202
}

Semantic roles & 50–950 ramp

primary
#252186
secondary
#B2B74C
accent
#E444DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #252186

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

Preview Lab → · Contrast checker → · Palette generator →

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