#24348F#24348F

#24348F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.151 H 269.7°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#24348F
RGBrgb(36, 52, 143)
HSLhsl(231, 60%, 35%)
HSVhsv(231, 75%, 56%)
CMYKcmyk(74.8%, 63.6%, 0%, 43.9%)
CIE-LABlab(26.20, 26.82, -52.19)
CIE-LCHlch(26.20, 58.68, 297.20°)
OKLaboklab(37.43% -0.0007 -0.1508)
OKLCHoklch(37.43% 0.151 269.7)
XYZxyz(6.9118, 4.8135, 26.5461)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24348F #8F7F24
analogous
#246A8F #24348F #49248F
triadic
#24348F #8F2434 #348F24
tetradic
#24348F #8F246A #8F7F24 #248F49
square
#24348F #8F246A #8F7F24 #248F49
split-complementary
#24348F #8F4924 #6A8F24
monochromatic
#0B102D #18225E #24348F #3046C0 #586BD5

Accessibility & contrast

On white

10.70
#24348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#24348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24348F
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24348F#FFFFFF#000000##FFFFFF
##24348F1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #24348f;
/* rgb */ color: rgb(36, 52, 143);
/* oklch */ color: oklch(37.4% 0.151 269.7);
Tailwind
colors: {
  custom: {
    50: '#6f6bb1',
    500: '#24348f',
    950: '#000000',
  },
}
SCSS
$custom: #24348f;
$custom-light: #6f6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#24348f",
  "rgb": {
    "r": 36,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 231.028,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37428,
    "c": 0.15077,
    "h": 269.7
  },
  "luminance": 0.04814
}

Semantic roles & 50–950 ramp

primary
#24348F
secondary
#B9AA55
accent
#CB45E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #24348F

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

Preview Lab → · Contrast checker → · Palette generator →

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