#24339E#24339E

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

Color values

HEX#24339E
RGBrgb(36, 51, 158)
HSLhsl(233, 63%, 38%)
HSVhsv(233, 77%, 62%)
CMYKcmyk(77.2%, 67.7%, 0%, 38%)
CIE-LABlab(27.33, 33.11, -59.54)
CIE-LCHlch(27.33, 68.12, 299.08°)
OKLaboklab(38.68% -0.0008 -0.1723)
OKLCHoklch(38.68% 0.172 269.7)
XYZxyz(8.0808, 5.2105, 32.9210)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24339E #9E8F24
analogous
#24709E #24339E #52249E
triadic
#24339E #9E2433 #339E24
tetradic
#24339E #9E2470 #9E8F24 #249E52
square
#24339E #9E2470 #9E8F24 #249E52
split-complementary
#24339E #9E5224 #709E24
monochromatic
#0D133A #19236C #24339E #2F43D0 #6170DB

Accessibility & contrast

On white

10.28
#24339E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24339E
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24339E#FFFFFF#000000##FFFFFF
##24339E1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #24339e;
/* rgb */ color: rgb(36, 51, 158);
/* oklch */ color: oklch(38.7% 0.172 269.7);
Tailwind
colors: {
  custom: {
    50: '#736bbc',
    500: '#24339e',
    950: '#000000',
  },
}
SCSS
$custom: #24339e;
$custom-light: #736bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#24339e",
  "rgb": {
    "r": 36,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 232.623,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.3868,
    "c": 0.17228,
    "h": 269.7
  },
  "luminance": 0.05211
}

Semantic roles & 50–950 ramp

primary
#24339E
secondary
#C0B45E
accent
#D242E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #24339E

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

Preview Lab → · Contrast checker → · Palette generator →

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