#24347B#24347B

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

Color values

HEX#24347B
RGBrgb(36, 52, 123)
HSLhsl(229, 55%, 31%)
HSVhsv(229, 71%, 48%)
CMYKcmyk(70.7%, 57.7%, 0%, 51.8%)
CIE-LABlab(24.51, 19.11, -42.43)
CIE-LCHlch(24.51, 46.53, 294.24°)
OKLaboklab(35.65% -0.0008 -0.1221)
OKLCHoklch(35.65% 0.122 269.6)
XYZxyz(5.5295, 4.2606, 19.2660)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24347B #7B6B24
analogous
#245F7B #24347B #3F247B
triadic
#24347B #7B2434 #347B24
tetradic
#24347B #7B245F #7B6B24 #247B3F
square
#24347B #7B245F #7B6B24 #247B3F
split-complementary
#24347B #7B3F24 #5F7B24
monochromatic
#080C1C #16204C #24347B #3248AA #4E65CB

Accessibility & contrast

On white

11.34
#24347B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#24347B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24347B
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24347B#FFFFFF#000000##FFFFFF
##24347B1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #24347b;
/* rgb */ color: rgb(36, 52, 123);
/* oklch */ color: oklch(35.7% 0.122 269.6);
Tailwind
colors: {
  custom: {
    50: '#6a6ba2',
    500: '#24347b',
    950: '#000000',
  },
}
SCSS
$custom: #24347b;
$custom-light: #6a6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#24347b",
  "rgb": {
    "r": 36,
    "g": 52,
    "b": 123
  },
  "hsl": {
    "h": 228.966,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35651,
    "c": 0.1221,
    "h": 269.6
  },
  "luminance": 0.04261
}

Semantic roles & 50–950 ramp

primary
#24347B
secondary
#AD9C4D
accent
#C34ADE
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #24347B

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

Preview Lab → · Contrast checker → · Palette generator →

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