#24348C#24348C

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

Color values

HEX#24348C
RGBrgb(36, 52, 140)
HSLhsl(231, 59%, 35%)
HSVhsv(231, 74%, 55%)
CMYKcmyk(74.3%, 62.9%, 0%, 45.1%)
CIE-LABlab(25.93, 25.67, -50.76)
CIE-LCHlch(25.93, 56.89, 296.83°)
OKLaboklab(37.15% -0.0006 -0.1466)
OKLCHoklch(37.15% 0.147 269.8)
XYZxyz(6.6875, 4.7238, 25.3652)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24348C #8C7C24
analogous
#24688C #24348C #48248C
triadic
#24348C #8C2434 #348C24
tetradic
#24348C #8C2468 #8C7C24 #248C48
square
#24348C #8C2468 #8C7C24 #248C48
split-complementary
#24348C #8C4824 #688C24
monochromatic
#0B102B #17225B #24348C #3146BD #576AD4

Accessibility & contrast

On white

10.80
#24348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24348C
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24348C#FFFFFF#000000##FFFFFF
##24348C1.0010.801.9510.80
#FFFFFF10.801.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #24348c;
/* rgb */ color: rgb(36, 52, 140);
/* oklch */ color: oklch(37.2% 0.147 269.8);
Tailwind
colors: {
  custom: {
    50: '#6f6bae',
    500: '#24348c',
    950: '#000000',
  },
}
SCSS
$custom: #24348c;
$custom-light: #6f6bae;
$custom-dark: #000000;
JSON
{
  "hex": "#24348c",
  "rgb": {
    "r": 36,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 230.769,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37151,
    "c": 0.14659,
    "h": 269.8
  },
  "luminance": 0.04725
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24348C

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

Preview Lab → · Contrast checker → · Palette generator →

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