#24347A#24347A

#24347A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.121 H 269.6°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#24347A
RGBrgb(36, 52, 122)
HSLhsl(229, 54%, 31%)
HSVhsv(229, 70%, 48%)
CMYKcmyk(70.5%, 57.4%, 0%, 52.2%)
CIE-LABlab(24.44, 18.72, -41.92)
CIE-LCHlch(24.44, 45.91, 294.06°)
OKLaboklab(35.57% -0.0009 -0.1206)
OKLCHoklch(35.57% 0.121 269.6)
XYZxyz(5.4672, 4.2357, 18.9380)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24347A #7A6A24
analogous
#245F7A #24347A #3F247A
triadic
#24347A #7A2434 #347A24
tetradic
#24347A #7A245F #7A6A24 #247A3F
square
#24347A #7A245F #7A6A24 #247A3F
split-complementary
#24347A #7A3F24 #5F7A24
monochromatic
#080C1B #16204B #24347A #3248A9 #4E65CB

Accessibility & contrast

On white

11.37
#24347A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24347A
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24347A#FFFFFF#000000##FFFFFF
##24347A1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #24347a;
/* rgb */ color: rgb(36, 52, 122);
/* oklch */ color: oklch(35.6% 0.121 269.6);
Tailwind
colors: {
  custom: {
    50: '#6a6ba1',
    500: '#24347a',
    950: '#000000',
  },
}
SCSS
$custom: #24347a;
$custom-light: #6a6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#24347a",
  "rgb": {
    "r": 36,
    "g": 52,
    "b": 122
  },
  "hsl": {
    "h": 228.837,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35567,
    "c": 0.12061,
    "h": 269.6
  },
  "luminance": 0.04236
}

Semantic roles & 50–950 ramp

primary
#24347A
secondary
#AC9B4D
accent
#C24ADE
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #24347A

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

Preview Lab → · Contrast checker → · Palette generator →

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