#24258E#24258E

#24258E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.167 H 273.1°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#24258E
RGBrgb(36, 37, 142)
HSLhsl(239, 60%, 35%)
HSVhsv(239, 75%, 56%)
CMYKcmyk(74.6%, 73.9%, 0%, 44.3%)
CIE-LABlab(22.48, 36.16, -57.67)
CIE-LCHlch(22.48, 68.07, 302.09°)
OKLaboklab(34.7% 0.0089 -0.1668)
OKLCHoklch(34.7% 0.167 273.1)
XYZxyz(6.2700, 3.6506, 25.9601)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24258E #8E8D24
analogous
#245A8E #24258E #58248E
triadic
#24258E #8E2425 #258E24
tetradic
#24258E #8E245A #8E8D24 #248E58
square
#24258E #8E245A #8E8D24 #248E58
split-complementary
#24258E #8E5824 #5A8E24
monochromatic
#0B0C2C #18185D #24258E #3032BF #5859D5

Accessibility & contrast

On white

12.14
#24258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#24258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24258E
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24258E#FFFFFF#000000##FFFFFF
##24258E1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00318C
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #24258e;
/* rgb */ color: rgb(36, 37, 142);
/* oklch */ color: oklch(34.7% 0.167 273.1);
Tailwind
colors: {
  custom: {
    50: '#7061b0',
    500: '#24258e',
    950: '#000000',
  },
}
SCSS
$custom: #24258e;
$custom-light: #7061b0;
$custom-dark: #000000;
JSON
{
  "hex": "#24258e",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 239.434,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34698,
    "c": 0.16708,
    "h": 273.1
  },
  "luminance": 0.03651
}

Semantic roles & 50–950 ramp

primary
#24258E
secondary
#B9B855
accent
#E145E3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #24258E

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

Preview Lab → · Contrast checker → · Palette generator →

#24258E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva