#24349B#24349B

#24349B is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.167 H 269.6°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#24349B
RGBrgb(36, 52, 155)
HSLhsl(232, 62%, 37%)
HSVhsv(232, 77%, 61%)
CMYKcmyk(76.8%, 66.5%, 0%, 39.2%)
CIE-LABlab(27.29, 31.34, -57.77)
CIE-LCHlch(27.29, 65.72, 298.48°)
OKLaboklab(38.57% -0.0012 -0.1671)
OKLCHoklch(38.57% 0.167 269.6)
XYZxyz(7.8699, 5.1968, 31.5923)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24349B #9B8B24
analogous
#246F9B #24349B #50249B
triadic
#24349B #9B2434 #349B24
tetradic
#24349B #9B246F #9B8B24 #249B50
square
#24349B #9B246F #9B8B24 #249B50
split-complementary
#24349B #9B5024 #6F9B24
monochromatic
#0D1338 #182369 #24349B #3045CD #5F70DA

Accessibility & contrast

On white

10.30
#24349B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#24349B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24349B
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24349B#FFFFFF#000000##FFFFFF
##24349B1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24349b;
/* rgb */ color: rgb(36, 52, 155);
/* oklch */ color: oklch(38.6% 0.167 269.6);
Tailwind
colors: {
  custom: {
    50: '#726bb9',
    500: '#24349b',
    950: '#000000',
  },
}
SCSS
$custom: #24349b;
$custom-light: #726bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#24349b",
  "rgb": {
    "r": 36,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 231.933,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38566,
    "c": 0.16711,
    "h": 269.6
  },
  "luminance": 0.05198
}

Semantic roles & 50–950 ramp

primary
#24349B
secondary
#BFB25C
accent
#CF42E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #24349B

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

Preview Lab → · Contrast checker → · Palette generator →

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