#24348B#24348B

#24348B is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.145 H 269.8°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#24348B
RGBrgb(36, 52, 139)
HSLhsl(231, 59%, 34%)
HSVhsv(231, 74%, 55%)
CMYKcmyk(74.1%, 62.6%, 0%, 45.5%)
CIE-LABlab(25.85, 25.29, -50.28)
CIE-LCHlch(25.85, 56.29, 296.70°)
OKLaboklab(37.06% -0.0006 -0.1452)
OKLCHoklch(37.06% 0.145 269.8)
XYZxyz(6.6141, 4.6945, 24.9786)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24348B #8B7B24
analogous
#24688B #24348B #48248B
triadic
#24348B #8B2434 #348B24
tetradic
#24348B #8B2468 #8B7B24 #248B48
square
#24348B #8B2468 #8B7B24 #248B48
split-complementary
#24348B #8B4824 #688B24
monochromatic
#0B102A #17225A #24348B #3146BC #566AD3

Accessibility & contrast

On white

10.83
#24348B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#24348B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24348B
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24348B#FFFFFF#000000##FFFFFF
##24348B1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #24348b;
/* rgb */ color: rgb(36, 52, 139);
/* oklch */ color: oklch(37.1% 0.145 269.8);
Tailwind
colors: {
  custom: {
    50: '#6e6bae',
    500: '#24348b',
    950: '#000000',
  },
}
SCSS
$custom: #24348b;
$custom-light: #6e6bae;
$custom-dark: #000000;
JSON
{
  "hex": "#24348b",
  "rgb": {
    "r": 36,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 230.68,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3706,
    "c": 0.14518,
    "h": 269.8
  },
  "luminance": 0.04695
}

Semantic roles & 50–950 ramp

primary
#24348B
secondary
#B7A853
accent
#CA46E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #24348B

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

Preview Lab → · Contrast checker → · Palette generator →

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