#24348D#24348D

#24348D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.148 H 269.8°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#24348D
RGBrgb(36, 52, 141)
HSLhsl(231, 59%, 35%)
HSVhsv(231, 74%, 55%)
CMYKcmyk(74.5%, 63.1%, 0%, 44.7%)
CIE-LABlab(26.02, 26.05, -51.24)
CIE-LCHlch(26.02, 57.48, 296.95°)
OKLaboklab(37.24% -0.0006 -0.148)
OKLCHoklch(37.24% 0.148 269.8)
XYZxyz(6.7616, 4.7534, 25.7553)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24348D #8D7D24
analogous
#24698D #24348D #49248D
triadic
#24348D #8D2434 #348D24
tetradic
#24348D #8D2469 #8D7D24 #248D49
square
#24348D #8D2469 #8D7D24 #248D49
split-complementary
#24348D #8D4924 #698D24
monochromatic
#0B102B #18225C #24348D #3046BE #576AD4

Accessibility & contrast

On white

10.76
#24348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#24348D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24348D
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24348D#FFFFFF#000000##FFFFFF
##24348D1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #24348d;
/* rgb */ color: rgb(36, 52, 141);
/* oklch */ color: oklch(37.2% 0.148 269.8);
Tailwind
colors: {
  custom: {
    50: '#6f6baf',
    500: '#24348d',
    950: '#000000',
  },
}
SCSS
$custom: #24348d;
$custom-light: #6f6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#24348d",
  "rgb": {
    "r": 36,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 230.857,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37243,
    "c": 0.14798,
    "h": 269.8
  },
  "luminance": 0.04754
}

Semantic roles & 50–950 ramp

primary
#24348D
secondary
#B8A954
accent
#CB45E3
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #24348D

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

Preview Lab → · Contrast checker → · Palette generator →

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