#24339C#24339C

#24339C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.170 H 269.8°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#24339C
RGBrgb(36, 51, 156)
HSLhsl(233, 63%, 38%)
HSVhsv(233, 77%, 61%)
CMYKcmyk(76.9%, 67.3%, 0%, 38.8%)
CIE-LABlab(27.14, 32.37, -58.63)
CIE-LCHlch(27.14, 66.97, 298.90°)
OKLaboklab(38.48% -0.0007 -0.1696)
OKLCHoklch(38.48% 0.17 269.8)
XYZxyz(7.9101, 5.1422, 32.0217)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24339C #9C8D24
analogous
#246F9C #24339C #51249C
triadic
#24339C #9C2433 #339C24
tetradic
#24339C #9C246F #9C8D24 #249C51
square
#24339C #9C246F #9C8D24 #249C51
split-complementary
#24339C #9C5124 #6F9C24
monochromatic
#0D1239 #19236A #24339C #2F43CE #606FDA

Accessibility & contrast

On white

10.35
#24339C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#24339C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24339C
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24339C#FFFFFF#000000##FFFFFF
##24339C1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #24339c;
/* rgb */ color: rgb(36, 51, 156);
/* oklch */ color: oklch(38.5% 0.170 269.8);
Tailwind
colors: {
  custom: {
    50: '#736bba',
    500: '#24339c',
    950: '#000000',
  },
}
SCSS
$custom: #24339c;
$custom-light: #736bba;
$custom-dark: #000000;
JSON
{
  "hex": "#24339c",
  "rgb": {
    "r": 36,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 232.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38484,
    "c": 0.16963,
    "h": 269.8
  },
  "luminance": 0.05143
}

Semantic roles & 50–950 ramp

primary
#24339C
secondary
#BFB35C
accent
#D142E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #24339C

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

Preview Lab → · Contrast checker → · Palette generator →

#24339C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva