#24349D#24349D

#24349D is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.170 H 269.6°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#24349D
RGBrgb(36, 52, 157)
HSLhsl(232, 63%, 38%)
HSVhsv(232, 77%, 62%)
CMYKcmyk(77.1%, 66.9%, 0%, 38.4%)
CIE-LABlab(27.48, 32.09, -58.68)
CIE-LCHlch(27.48, 66.88, 298.67°)
OKLaboklab(38.76% -0.0013 -0.1698)
OKLCHoklch(38.76% 0.17 269.6)
XYZxyz(8.0393, 5.2645, 32.4842)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24349D #9D8D24
analogous
#24709D #24349D #50249D
triadic
#24349D #9D2434 #349D24
tetradic
#24349D #9D2470 #9D8D24 #249D50
square
#24349D #9D2470 #9D8D24 #249D50
split-complementary
#24349D #9D5024 #709D24
monochromatic
#0D1339 #19246B #24349D #2F44CF #6171DB

Accessibility & contrast

On white

10.23
#24349D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#24349D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24349D
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24349D#FFFFFF#000000##FFFFFF
##24349D1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#003B9B
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #24349d;
/* rgb */ color: rgb(36, 52, 157);
/* oklch */ color: oklch(38.8% 0.170 269.6);
Tailwind
colors: {
  custom: {
    50: '#736bbb',
    500: '#24349d',
    950: '#000000',
  },
}
SCSS
$custom: #24349d;
$custom-light: #736bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#24349d",
  "rgb": {
    "r": 36,
    "g": 52,
    "b": 157
  },
  "hsl": {
    "h": 232.066,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.3876,
    "c": 0.16979,
    "h": 269.6
  },
  "luminance": 0.05265
}

Semantic roles & 50–950 ramp

primary
#24349D
secondary
#C0B35D
accent
#D042E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #24349D

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

Preview Lab → · Contrast checker → · Palette generator →

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