#252479#252479

#252479 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.140 H 275.8°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#252479
RGBrgb(37, 36, 121)
HSLhsl(241, 54%, 31%)
HSVhsv(241, 70%, 47%)
CMYKcmyk(69.4%, 70.2%, 0%, 52.5%)
CIE-LABlab(20.18, 29.41, -48.22)
CIE-LCHlch(20.18, 56.48, 301.38°)
OKLaboklab(32.42% 0.014 -0.1392)
OKLCHoklch(32.42% 0.14 275.8)
XYZxyz(4.8439, 3.0351, 18.4160)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252479 #787924
analogous
#244D79 #252479 #4F2479
triadic
#252479 #792524 #247925
tetradic
#252479 #79244D #787924 #24794F
square
#252479 #79244D #787924 #24794F
split-complementary
#252479 #794F24 #4D7924
monochromatic
#08081B #17164A #252479 #3332A8 #4F4DCA

Accessibility & contrast

On white

13.07
#252479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#252479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252479
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252479#FFFFFF#000000##FFFFFF
##2524791.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#002D77
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #252479;
/* rgb */ color: rgb(37, 36, 121);
/* oklch */ color: oklch(32.4% 0.140 275.8);
Tailwind
colors: {
  custom: {
    50: '#6c5fa1',
    500: '#252479',
    950: '#000000',
  },
}
SCSS
$custom: #252479;
$custom-light: #6c5fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#252479",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 240.706,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3242,
    "c": 0.13992,
    "h": 275.8
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#252479
secondary
#AAAC4D
accent
#DE4ADC
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #252479

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

Preview Lab → · Contrast checker → · Palette generator →

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