#24358D#24358D

#24358D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.147 H 269.5°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#24358D
RGBrgb(36, 53, 141)
HSLhsl(230, 59%, 35%)
HSVhsv(230, 74%, 55%)
CMYKcmyk(74.5%, 62.4%, 0%, 44.7%)
CIE-LABlab(26.28, 25.37, -50.81)
CIE-LCHlch(26.28, 56.79, 296.54°)
OKLaboklab(37.44% -0.0013 -0.1467)
OKLCHoklch(37.44% 0.147 269.5)
XYZxyz(6.8067, 4.8437, 25.7703)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24358D #8D7C24
analogous
#24698D #24358D #48248D
triadic
#24358D #8D2435 #358D24
tetradic
#24358D #8D2469 #8D7C24 #248D48
square
#24358D #8D2469 #8D7C24 #248D48
split-complementary
#24358D #8D4824 #698D24
monochromatic
#0B102B #18235C #24358D #3047BE #576BD4

Accessibility & contrast

On white

10.67
#24358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24358D
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24358D#FFFFFF#000000##FFFFFF
##24358D1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #24358d;
/* rgb */ color: rgb(36, 53, 141);
/* oklch */ color: oklch(37.4% 0.147 269.5);
Tailwind
colors: {
  custom: {
    50: '#6f6caf',
    500: '#24358d',
    950: '#000000',
  },
}
SCSS
$custom: #24358d;
$custom-light: #6f6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#24358d",
  "rgb": {
    "r": 36,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 230.286,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37439,
    "c": 0.14672,
    "h": 269.5
  },
  "luminance": 0.04844
}

Semantic roles & 50–950 ramp

primary
#24358D
secondary
#B8A854
accent
#C945E3
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #24358D

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

Preview Lab → · Contrast checker → · Palette generator →

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