#24306D#24306D

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

Color values

HEX#24306D
RGBrgb(36, 48, 109)
HSLhsl(230, 50%, 28%)
HSVhsv(230, 67%, 43%)
CMYKcmyk(67%, 56%, 0%, 57.3%)
CIE-LABlab(22.28, 16.48, -37.11)
CIE-LCHlch(22.28, 40.61, 293.95°)
OKLaboklab(33.62% 0.0022 -0.1065)
OKLCHoklch(33.62% 0.107 271.2)
XYZxyz(4.5439, 3.5927, 14.9190)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24306D #6D6124
analogous
#24546D #24306D #3C246D
triadic
#24306D #6D2430 #306D24
tetradic
#24306D #6D2454 #6D6124 #246D3C
square
#24306D #6D2454 #6D6124 #246D3C
split-complementary
#24306D #6D3C24 #546D24
monochromatic
#080A17 #151C3F #24306D #33449B #495DC3

Accessibility & contrast

On white

12.22
#24306D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#24306D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24306D
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24306D#FFFFFF#000000##FFFFFF
##24306D1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08396F
Deuteranopia (green-blind)
#00326C
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #24306d;
/* rgb */ color: rgb(36, 48, 109);
/* oklch */ color: oklch(33.6% 0.107 271.2);
Tailwind
colors: {
  custom: {
    50: '#686897',
    500: '#24306d',
    950: '#000000',
  },
}
SCSS
$custom: #24306d;
$custom-light: #686897;
$custom-dark: #000000;
JSON
{
  "hex": "#24306d",
  "rgb": {
    "r": 36,
    "g": 48,
    "b": 109
  },
  "hsl": {
    "h": 230.137,
    "s": 50.345,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33623,
    "c": 0.10654,
    "h": 271.2
  },
  "luminance": 0.03593
}

Semantic roles & 50–950 ramp

primary
#24306D
secondary
#A0924D
accent
#C34EDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #24306D

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

Preview Lab → · Contrast checker → · Palette generator →

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