#252284#252284

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

Color values

HEX#252284
RGBrgb(37, 34, 132)
HSLhsl(242, 59%, 33%)
HSVhsv(242, 74%, 52%)
CMYKcmyk(72%, 74.2%, 0%, 48.2%)
CIE-LABlab(20.84, 34.59, -54.12)
CIE-LCHlch(20.84, 64.23, 302.59°)
OKLaboklab(33.23% 0.0137 -0.1564)
OKLCHoklch(33.23% 0.157 275)
XYZxyz(5.4985, 3.2028, 22.1538)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252284 #818422
analogous
#225084 #252284 #562284
triadic
#252284 #842522 #228425
tetradic
#252284 #842250 #818422 #228456
square
#252284 #842250 #818422 #228456
split-complementary
#252284 #845622 #508422
monochromatic
#0A0923 #171553 #252284 #332FB5 #534FD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##252284#FFFFFF#000000##FFFFFF
##2522841.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)
#003787
Deuteranopia (green-blind)
#002E82
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #252284;
/* rgb */ color: rgb(37, 34, 132);
/* oklch */ color: oklch(33.2% 0.157 275.0);
Tailwind
colors: {
  custom: {
    50: '#6f5ea9',
    500: '#252284',
    950: '#000000',
  },
}
SCSS
$custom: #252284;
$custom-light: #6f5ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#252284",
  "rgb": {
    "r": 37,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 241.837,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33228,
    "c": 0.15704,
    "h": 275
  },
  "luminance": 0.03203
}

Semantic roles & 50–950 ramp

primary
#252284
secondary
#B2B54D
accent
#E246DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #252284

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

Preview Lab → · Contrast checker → · Palette generator →

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