#24339D#24339D

#24339D is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.171 H 269.7°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#24339D
RGBrgb(36, 51, 157)
HSLhsl(233, 63%, 38%)
HSVhsv(233, 77%, 62%)
CMYKcmyk(77.1%, 67.5%, 0%, 38.4%)
CIE-LABlab(27.23, 32.74, -59.08)
CIE-LCHlch(27.23, 67.55, 298.99°)
OKLaboklab(38.58% -0.0007 -0.171)
OKLCHoklch(38.58% 0.171 269.7)
XYZxyz(7.9951, 5.1762, 32.4695)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24339D #9D8E24
analogous
#246F9D #24339D #51249D
triadic
#24339D #9D2433 #339D24
tetradic
#24339D #9D246F #9D8E24 #249D51
square
#24339D #9D246F #9D8E24 #249D51
split-complementary
#24339D #9D5124 #6F9D24
monochromatic
#0D1339 #19236B #24339D #2F43CF #6170DB

Accessibility & contrast

On white

10.32
#24339D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#24339D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24339D
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24339D#FFFFFF#000000##FFFFFF
##24339D1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#003B9B
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #24339d;
/* rgb */ color: rgb(36, 51, 157);
/* oklch */ color: oklch(38.6% 0.171 269.7);
Tailwind
colors: {
  custom: {
    50: '#736bbb',
    500: '#24339d',
    950: '#000000',
  },
}
SCSS
$custom: #24339d;
$custom-light: #736bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#24339d",
  "rgb": {
    "r": 36,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 232.562,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38582,
    "c": 0.17096,
    "h": 269.7
  },
  "luminance": 0.05177
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24339D

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

Preview Lab → · Contrast checker → · Palette generator →

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