#252484#252484

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

Color values

HEX#252484
RGBrgb(37, 36, 132)
HSLhsl(241, 57%, 33%)
HSVhsv(241, 73%, 52%)
CMYKcmyk(72%, 72.7%, 0%, 48.2%)
CIE-LABlab(21.28, 33.36, -53.38)
CIE-LCHlch(21.28, 62.95, 302.00°)
OKLaboklab(33.55% 0.0124 -0.1543)
OKLCHoklch(33.55% 0.155 274.6)
XYZxyz(5.5573, 3.3205, 22.1734)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252484 #838424
analogous
#245384 #252484 #552484
triadic
#252484 #842524 #248425
tetradic
#252484 #842453 #838424 #248455
square
#252484 #842453 #838424 #248455
split-complementary
#252484 #845524 #538424
monochromatic
#0A0A24 #181754 #252484 #3231B4 #5452D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##252484#FFFFFF#000000##FFFFFF
##2524841.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)
#003887
Deuteranopia (green-blind)
#002F82
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #252484;
/* rgb */ color: rgb(37, 36, 132);
/* oklch */ color: oklch(33.5% 0.155 274.6);
Tailwind
colors: {
  custom: {
    50: '#6e5fa9',
    500: '#252484',
    950: '#000000',
  },
}
SCSS
$custom: #252484;
$custom-light: #6e5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#252484",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 132
  },
  "hsl": {
    "h": 240.625,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33546,
    "c": 0.15481,
    "h": 274.6
  },
  "luminance": 0.03321
}

Semantic roles & 50–950 ramp

primary
#252484
secondary
#B3B450
accent
#E047DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #252484

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

Preview Lab → · Contrast checker → · Palette generator →

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