#24368E#24368E

#24368E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.147 H 269.2°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#24368E
RGBrgb(36, 54, 142)
HSLhsl(230, 60%, 35%)
HSVhsv(230, 75%, 56%)
CMYKcmyk(74.6%, 62%, 0%, 44.3%)
CIE-LABlab(26.64, 25.08, -50.85)
CIE-LCHlch(26.64, 56.70, 296.25°)
OKLaboklab(37.73% -0.0021 -0.1468)
OKLCHoklch(37.73% 0.147 269.2)
XYZxyz(6.9275, 4.9657, 26.1793)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24368E #8E7C24
analogous
#246B8E #24368E #47248E
triadic
#24368E #8E2436 #368E24
tetradic
#24368E #8E246B #8E7C24 #248E47
square
#24368E #8E246B #8E7C24 #248E47
split-complementary
#24368E #8E4724 #6B8E24
monochromatic
#0B112C #18235D #24368E #3049BF #586DD5

Accessibility & contrast

On white

10.54
#24368E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#24368E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24368E
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24368E#FFFFFF#000000##FFFFFF
##24368E1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24368e;
/* rgb */ color: rgb(36, 54, 142);
/* oklch */ color: oklch(37.7% 0.147 269.2);
Tailwind
colors: {
  custom: {
    50: '#6f6cb0',
    500: '#24368e',
    950: '#000000',
  },
}
SCSS
$custom: #24368e;
$custom-light: #6f6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#24368e",
  "rgb": {
    "r": 36,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 229.811,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37727,
    "c": 0.14684,
    "h": 269.2
  },
  "luminance": 0.04966
}

Semantic roles & 50–950 ramp

primary
#24368E
secondary
#B9A855
accent
#C845E3
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #24368E

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

Preview Lab → · Contrast checker → · Palette generator →

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