#24368B#24368B

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

Color values

HEX#24368B
RGBrgb(36, 54, 139)
HSLhsl(230, 59%, 34%)
HSVhsv(230, 74%, 55%)
CMYKcmyk(74.1%, 61.2%, 0%, 45.5%)
CIE-LABlab(26.38, 23.92, -49.41)
CIE-LCHlch(26.38, 54.90, 295.83°)
OKLaboklab(37.46% -0.0021 -0.1426)
OKLCHoklch(37.46% 0.143 269.2)
XYZxyz(6.7053, 4.8768, 25.0090)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24368B #8B7924
analogous
#246A8B #24368B #46248B
triadic
#24368B #8B2436 #368B24
tetradic
#24368B #8B246A #8B7924 #248B46
square
#24368B #8B246A #8B7924 #248B46
split-complementary
#24368B #8B4624 #6A8B24
monochromatic
#0B102A #17235A #24368B #3149BC #566CD3

Accessibility & contrast

On white

10.63
#24368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#24368B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24368B
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24368B#FFFFFF#000000##FFFFFF
##24368B1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #24368b;
/* rgb */ color: rgb(36, 54, 139);
/* oklch */ color: oklch(37.5% 0.143 269.2);
Tailwind
colors: {
  custom: {
    50: '#6e6cae',
    500: '#24368b',
    950: '#000000',
  },
}
SCSS
$custom: #24368b;
$custom-light: #6e6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#24368b",
  "rgb": {
    "r": 36,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 229.515,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37457,
    "c": 0.14262,
    "h": 269.2
  },
  "luminance": 0.04877
}

Semantic roles & 50–950 ramp

primary
#24368B
secondary
#B7A653
accent
#C746E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #24368B

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

Preview Lab → · Contrast checker → · Palette generator →

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