#24368A#24368A

#24368A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.141 H 269.1°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#24368A
RGBrgb(36, 54, 138)
HSLhsl(229, 59%, 34%)
HSVhsv(229, 74%, 54%)
CMYKcmyk(73.9%, 60.9%, 0%, 45.9%)
CIE-LABlab(26.30, 23.54, -48.93)
CIE-LCHlch(26.30, 54.30, 295.69°)
OKLaboklab(37.37% -0.0021 -0.1412)
OKLCHoklch(37.37% 0.141 269.1)
XYZxyz(6.6326, 4.8477, 24.6260)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24368A #8A7824
analogous
#24698A #24368A #45248A
triadic
#24368A #8A2436 #368A24
tetradic
#24368A #8A2469 #8A7824 #248A45
square
#24368A #8A2469 #8A7824 #248A45
split-complementary
#24368A #8A4524 #698A24
monochromatic
#0B1029 #172359 #24368A #3149BB #566CD3

Accessibility & contrast

On white

10.66
#24368A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#24368A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24368A
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24368A#FFFFFF#000000##FFFFFF
##24368A1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #24368a;
/* rgb */ color: rgb(36, 54, 138);
/* oklch */ color: oklch(37.4% 0.141 269.1);
Tailwind
colors: {
  custom: {
    50: '#6e6cad',
    500: '#24368a',
    950: '#000000',
  },
}
SCSS
$custom: #24368a;
$custom-light: #6e6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#24368a",
  "rgb": {
    "r": 36,
    "g": 54,
    "b": 138
  },
  "hsl": {
    "h": 229.412,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37368,
    "c": 0.1412,
    "h": 269.1
  },
  "luminance": 0.04848
}

Semantic roles & 50–950 ramp

primary
#24368A
secondary
#B7A553
accent
#C646E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #24368A

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

Preview Lab → · Contrast checker → · Palette generator →

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