#24339A#24339A

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

Color values

HEX#24339A
RGBrgb(36, 51, 154)
HSLhsl(232, 62%, 37%)
HSVhsv(232, 77%, 60%)
CMYKcmyk(76.6%, 66.9%, 0%, 39.6%)
CIE-LABlab(26.95, 31.62, -57.72)
CIE-LCHlch(26.95, 65.81, 298.72°)
OKLaboklab(38.29% -0.0005 -0.167)
OKLCHoklch(38.29% 0.167 269.8)
XYZxyz(7.7421, 5.0750, 31.1371)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24339A #9A8B24
analogous
#246E9A #24339A #50249A
triadic
#24339A #9A2433 #339A24
tetradic
#24339A #9A246E #9A8B24 #249A50
square
#24339A #9A246E #9A8B24 #249A50
split-complementary
#24339A #9A5024 #6E9A24
monochromatic
#0D1237 #182368 #24339A #3043CC #5F6EDA

Accessibility & contrast

On white

10.42
#24339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#24339A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24339A
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24339A#FFFFFF#000000##FFFFFF
##24339A1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#003A98
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #24339a;
/* rgb */ color: rgb(36, 51, 154);
/* oklch */ color: oklch(38.3% 0.167 269.8);
Tailwind
colors: {
  custom: {
    50: '#726ab9',
    500: '#24339a',
    950: '#000000',
  },
}
SCSS
$custom: #24339a;
$custom-light: #726ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#24339a",
  "rgb": {
    "r": 36,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 232.373,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38288,
    "c": 0.16697,
    "h": 269.8
  },
  "luminance": 0.05076
}

Semantic roles & 50–950 ramp

primary
#24339A
secondary
#BFB25B
accent
#D143E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #24339A

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

Preview Lab → · Contrast checker → · Palette generator →

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