#24306F#24306F

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

Color values

HEX#24306F
RGBrgb(36, 48, 111)
HSLhsl(230, 51%, 29%)
HSVhsv(230, 68%, 44%)
CMYKcmyk(67.6%, 56.8%, 0%, 56.5%)
CIE-LABlab(22.43, 17.26, -38.15)
CIE-LCHlch(22.43, 41.87, 294.34°)
OKLaboklab(33.79% 0.0023 -0.1096)
OKLCHoklch(33.79% 0.11 271.2)
XYZxyz(4.6528, 3.6363, 15.4925)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24306F #6F6324
analogous
#24566F #24306F #3E246F
triadic
#24306F #6F2430 #306F24
tetradic
#24306F #6F2456 #6F6324 #246F3E
square
#24306F #6F2456 #6F6324 #246F3E
split-complementary
#24306F #6F3E24 #566F24
monochromatic
#070A17 #151C41 #24306F #33449D #495DC4

Accessibility & contrast

On white

12.16
#24306F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#24306F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24306F
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24306F#FFFFFF#000000##FFFFFF
##24306F1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043971
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #24306f;
/* rgb */ color: rgb(36, 48, 111);
/* oklch */ color: oklch(33.8% 0.110 271.2);
Tailwind
colors: {
  custom: {
    50: '#686899',
    500: '#24306f',
    950: '#000000',
  },
}
SCSS
$custom: #24306f;
$custom-light: #686899;
$custom-dark: #000000;
JSON
{
  "hex": "#24306f",
  "rgb": {
    "r": 36,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 230.4,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33787,
    "c": 0.1096,
    "h": 271.2
  },
  "luminance": 0.03637
}

Semantic roles & 50–950 ramp

primary
#24306F
secondary
#A2944D
accent
#C44DDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #24306F

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

Preview Lab → · Contrast checker → · Palette generator →

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