#252584#252584

#252584 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.154 H 274.4°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#252584
RGBrgb(37, 37, 132)
HSLhsl(240, 56%, 33%)
HSVhsv(240, 72%, 52%)
CMYKcmyk(72%, 72%, 0%, 48.2%)
CIE-LABlab(21.51, 32.73, -53.01)
CIE-LCHlch(21.51, 62.30, 301.69°)
OKLaboklab(33.71% 0.0118 -0.1532)
OKLCHoklch(33.71% 0.154 274.4)
XYZxyz(5.5880, 3.3819, 22.1836)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252584 #848425
analogous
#255484 #252584 #542584
triadic
#252584 #842525 #258425
tetradic
#252584 #842554 #848425 #258454
square
#252584 #842554 #848425 #258454
split-complementary
#252584 #845425 #548425
monochromatic
#0A0A24 #181854 #252584 #3232B4 #5454CF

Accessibility & contrast

On white

12.53
#252584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#252584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252584
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252584#FFFFFF#000000##FFFFFF
##2525841.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#002F82
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #252584;
/* rgb */ color: rgb(37, 37, 132);
/* oklch */ color: oklch(33.7% 0.154 274.4);
Tailwind
colors: {
  custom: {
    50: '#6e60a9',
    500: '#252584',
    950: '#000000',
  },
}
SCSS
$custom: #252584;
$custom-light: #6e60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#252584",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 132
  },
  "hsl": {
    "h": 240,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3371,
    "c": 0.15366,
    "h": 274.4
  },
  "luminance": 0.03382
}

Semantic roles & 50–950 ramp

primary
#252584
secondary
#B3B351
accent
#E048E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #252584

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

Preview Lab → · Contrast checker → · Palette generator →

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