#24358E#24358E

#24358E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.148 H 269.5°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#24358E
RGBrgb(36, 53, 142)
HSLhsl(230, 60%, 35%)
HSVhsv(230, 75%, 56%)
CMYKcmyk(74.6%, 62.7%, 0%, 44.3%)
CIE-LABlab(26.37, 25.76, -51.29)
CIE-LCHlch(26.37, 57.39, 296.67°)
OKLaboklab(37.53% -0.0014 -0.1481)
OKLCHoklch(37.53% 0.148 269.5)
XYZxyz(6.8815, 4.8736, 26.1640)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24358E #8E7D24
analogous
#246A8E #24358E #48248E
triadic
#24358E #8E2435 #358E24
tetradic
#24358E #8E246A #8E7D24 #248E48
square
#24358E #8E246A #8E7D24 #248E48
split-complementary
#24358E #8E4824 #6A8E24
monochromatic
#0B112C #18235D #24358E #3047BF #586CD5

Accessibility & contrast

On white

10.63
#24358E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#24358E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24358E
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24358E#FFFFFF#000000##FFFFFF
##24358E1.0010.631.9710.63
#FFFFFF10.631.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #24358e;
/* rgb */ color: rgb(36, 53, 142);
/* oklch */ color: oklch(37.5% 0.148 269.5);
Tailwind
colors: {
  custom: {
    50: '#6f6cb0',
    500: '#24358e',
    950: '#000000',
  },
}
SCSS
$custom: #24358e;
$custom-light: #6f6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#24358e",
  "rgb": {
    "r": 36,
    "g": 53,
    "b": 142
  },
  "hsl": {
    "h": 230.377,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3753,
    "c": 0.14812,
    "h": 269.5
  },
  "luminance": 0.04874
}

Semantic roles & 50–950 ramp

primary
#24358E
secondary
#B9A955
accent
#C945E3
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #24358E

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

Preview Lab → · Contrast checker → · Palette generator →

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