#24306C#24306C

#24306C is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.5% C 0.105 H 271.2°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#24306C
RGBrgb(36, 48, 108)
HSLhsl(230, 50%, 28%)
HSVhsv(230, 67%, 42%)
CMYKcmyk(66.7%, 55.6%, 0%, 57.6%)
CIE-LABlab(22.20, 16.10, -36.59)
CIE-LCHlch(22.20, 39.98, 293.74°)
OKLaboklab(33.54% 0.0021 -0.105)
OKLCHoklch(33.54% 0.105 271.2)
XYZxyz(4.4904, 3.5713, 14.6371)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24306C #6C6024
analogous
#24546C #24306C #3C246C
triadic
#24306C #6C2430 #306C24
tetradic
#24306C #6C2454 #6C6024 #246C3C
square
#24306C #6C2454 #6C6024 #246C3C
split-complementary
#24306C #6C3C24 #546C24
monochromatic
#080A17 #151C3E #24306C #33449A #485DC2

Accessibility & contrast

On white

12.25
#24306C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#24306C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24306C
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24306C#FFFFFF#000000##FFFFFF
##24306C1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A386E
Deuteranopia (green-blind)
#00326B
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #24306c;
/* rgb */ color: rgb(36, 48, 108);
/* oklch */ color: oklch(33.5% 0.105 271.2);
Tailwind
colors: {
  custom: {
    50: '#676897',
    500: '#24306c',
    950: '#000000',
  },
}
SCSS
$custom: #24306c;
$custom-light: #676897;
$custom-dark: #000000;
JSON
{
  "hex": "#24306c",
  "rgb": {
    "r": 36,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 230,
    "s": 50,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33541,
    "c": 0.105,
    "h": 271.2
  },
  "luminance": 0.03572
}

Semantic roles & 50–950 ramp

primary
#24306C
secondary
#9F914D
accent
#C24EDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #24306C

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

Preview Lab → · Contrast checker → · Palette generator →

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