#24347C#24347C

#24347C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.7% C 0.124 H 269.6°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#24347C
RGBrgb(36, 52, 124)
HSLhsl(229, 55%, 31%)
HSVhsv(229, 71%, 49%)
CMYKcmyk(71%, 58.1%, 0%, 51.4%)
CIE-LABlab(24.59, 19.50, -42.93)
CIE-LCHlch(24.59, 47.15, 294.42°)
OKLaboklab(35.74% -0.0008 -0.1236)
OKLCHoklch(35.74% 0.124 269.6)
XYZxyz(5.5924, 4.2857, 19.5974)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24347C #7C6C24
analogous
#24607C #24347C #40247C
triadic
#24347C #7C2434 #347C24
tetradic
#24347C #7C2460 #7C6C24 #247C40
square
#24347C #7C2460 #7C6C24 #247C40
split-complementary
#24347C #7C4024 #607C24
monochromatic
#080C1D #16204D #24347C #3248AB #4F65CC

Accessibility & contrast

On white

11.31
#24347C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#24347C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24347C
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24347C#FFFFFF#000000##FFFFFF
##24347C1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #24347c;
/* rgb */ color: rgb(36, 52, 124);
/* oklch */ color: oklch(35.7% 0.124 269.6);
Tailwind
colors: {
  custom: {
    50: '#6b6ba2',
    500: '#24347c',
    950: '#000000',
  },
}
SCSS
$custom: #24347c;
$custom-light: #6b6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#24347c",
  "rgb": {
    "r": 36,
    "g": 52,
    "b": 124
  },
  "hsl": {
    "h": 229.091,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35736,
    "c": 0.12358,
    "h": 269.6
  },
  "luminance": 0.04286
}

Semantic roles & 50–950 ramp

primary
#24347C
secondary
#AE9D4D
accent
#C349DE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #24347C

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

Preview Lab → · Contrast checker → · Palette generator →

#24347C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva