#24339B#24339B

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

Color values

HEX#24339B
RGBrgb(36, 51, 155)
HSLhsl(232, 62%, 37%)
HSVhsv(232, 77%, 61%)
CMYKcmyk(76.8%, 67.1%, 0%, 39.2%)
CIE-LABlab(27.04, 32.00, -58.17)
CIE-LCHlch(27.04, 66.39, 298.81°)
OKLaboklab(38.39% -0.0006 -0.1683)
OKLCHoklch(38.39% 0.168 269.8)
XYZxyz(7.8257, 5.1084, 31.5776)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24339B #9B8C24
analogous
#246F9B #24339B #51249B
triadic
#24339B #9B2433 #339B24
tetradic
#24339B #9B246F #9B8C24 #249B51
square
#24339B #9B246F #9B8C24 #249B51
split-complementary
#24339B #9B5124 #6F9B24
monochromatic
#0D1238 #182369 #24339B #3043CD #5F6FDA

Accessibility & contrast

On white

10.39
#24339B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24339B
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24339B#FFFFFF#000000##FFFFFF
##24339B1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #24339b;
/* rgb */ color: rgb(36, 51, 155);
/* oklch */ color: oklch(38.4% 0.168 269.8);
Tailwind
colors: {
  custom: {
    50: '#726bb9',
    500: '#24339b',
    950: '#000000',
  },
}
SCSS
$custom: #24339b;
$custom-light: #726bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#24339b",
  "rgb": {
    "r": 36,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 232.437,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38386,
    "c": 0.1683,
    "h": 269.8
  },
  "luminance": 0.05109
}

Semantic roles & 50–950 ramp

primary
#24339B
secondary
#BFB25C
accent
#D142E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #24339B

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

Preview Lab → · Contrast checker → · Palette generator →

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