#252492#252492

#252492 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.173 H 273.3°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#252492
RGBrgb(37, 36, 146)
HSLhsl(241, 60%, 36%)
HSVhsv(241, 75%, 57%)
CMYKcmyk(74.7%, 75.3%, 0%, 42.7%)
CIE-LABlab(22.76, 38.25, -59.69)
CIE-LCHlch(22.76, 70.90, 302.65°)
OKLaboklab(35.04% 0.01 -0.1727)
OKLCHoklch(35.04% 0.173 273.3)
XYZxyz(6.5804, 3.7297, 27.5617)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252492 #919224
analogous
#245A92 #252492 #5C2492
triadic
#252492 #922524 #249225
tetradic
#252492 #92245A #919224 #24925C
square
#252492 #92245A #919224 #24925C
split-complementary
#252492 #925C24 #5A9224
monochromatic
#0C0C30 #191861 #252492 #3130C3 #5B5AD6

Accessibility & contrast

On white

12.03
#252492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#252492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252492
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252492#FFFFFF#000000##FFFFFF
##2524921.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003190
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #252492;
/* rgb */ color: rgb(37, 36, 146);
/* oklch */ color: oklch(35.0% 0.173 273.3);
Tailwind
colors: {
  custom: {
    50: '#7260b3',
    500: '#252492',
    950: '#000000',
  },
}
SCSS
$custom: #252492;
$custom-light: #7260b3;
$custom-dark: #000000;
JSON
{
  "hex": "#252492",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 240.545,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35039,
    "c": 0.17299,
    "h": 273.3
  },
  "luminance": 0.0373
}

Semantic roles & 50–950 ramp

primary
#252492
secondary
#BABB57
accent
#E444E2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #252492

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

Preview Lab → · Contrast checker → · Palette generator →

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