#252185#252185

#252185 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.159 H 275.1°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#252185
RGBrgb(37, 33, 133)
HSLhsl(242, 60%, 33%)
HSVhsv(242, 75%, 52%)
CMYKcmyk(72.2%, 75.2%, 0%, 47.8%)
CIE-LABlab(20.73, 35.54, -54.93)
CIE-LCHlch(20.73, 65.43, 302.90°)
OKLaboklab(33.18% 0.0141 -0.1588)
OKLCHoklch(33.18% 0.159 275.1)
XYZxyz(5.5390, 3.1740, 22.5065)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252185 #818521
analogous
#214F85 #252185 #572185
triadic
#252185 #852521 #218525
tetradic
#252185 #85214F #818521 #218557
square
#252185 #85214F #818521 #218557
split-complementary
#252185 #855721 #4F8521
monochromatic
#0A0923 #171554 #252185 #332DB6 #534DD3

Accessibility & contrast

On white

12.85
#252185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252185
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252185#FFFFFF#000000##FFFFFF
##2521851.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #252185;
/* rgb */ color: rgb(37, 33, 133);
/* oklch */ color: oklch(33.2% 0.159 275.1);
Tailwind
colors: {
  custom: {
    50: '#6f5eaa',
    500: '#252185',
    950: '#000000',
  },
}
SCSS
$custom: #252185;
$custom-light: #6f5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#252185",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 242.4,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3318,
    "c": 0.15943,
    "h": 275.1
  },
  "luminance": 0.03174
}

Semantic roles & 50–950 ramp

primary
#252185
secondary
#B2B64C
accent
#E344DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #252185

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

Preview Lab → · Contrast checker → · Palette generator →

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