#252184#252184

#252184 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.158 H 275.2°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#252184
RGBrgb(37, 33, 132)
HSLhsl(242, 60%, 32%)
HSVhsv(242, 75%, 52%)
CMYKcmyk(72%, 75%, 0%, 48.2%)
CIE-LABlab(20.62, 35.20, -54.48)
CIE-LCHlch(20.62, 64.86, 302.87°)
OKLaboklab(33.07% 0.0143 -0.1575)
OKLCHoklch(33.07% 0.158 275.2)
XYZxyz(5.4703, 3.1465, 22.1444)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252184 #808421
analogous
#214F84 #252184 #562184
triadic
#252184 #842521 #218425
tetradic
#252184 #84214F #808421 #218456
square
#252184 #84214F #808421 #218456
split-complementary
#252184 #845621 #4F8421
monochromatic
#0A0922 #171553 #252184 #332DB5 #524DD2

Accessibility & contrast

On white

12.89
#252184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#252184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252184
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252184#FFFFFF#000000##FFFFFF
##2521841.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003687
Deuteranopia (green-blind)
#002D82
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #252184;
/* rgb */ color: rgb(37, 33, 132);
/* oklch */ color: oklch(33.1% 0.158 275.2);
Tailwind
colors: {
  custom: {
    50: '#6f5ea9',
    500: '#252184',
    950: '#000000',
  },
}
SCSS
$custom: #252184;
$custom-light: #6f5ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#252184",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 242.424,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33073,
    "c": 0.15813,
    "h": 275.2
  },
  "luminance": 0.03147
}

Semantic roles & 50–950 ramp

primary
#252184
secondary
#B1B64B
accent
#E345DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #252184

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

Preview Lab → · Contrast checker → · Palette generator →

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