#24306A#24306A

#24306A is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.4% C 0.102 H 271.1°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#24306A
RGBrgb(36, 48, 106)
HSLhsl(230, 49%, 28%)
HSVhsv(230, 66%, 42%)
CMYKcmyk(66%, 54.7%, 0%, 58.4%)
CIE-LABlab(22.05, 15.32, -35.54)
CIE-LCHlch(22.05, 38.70, 293.32°)
OKLaboklab(33.38% 0.0019 -0.1019)
OKLCHoklch(33.38% 0.102 271.1)
XYZxyz(4.3852, 3.5292, 14.0830)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24306A #6A5E24
analogous
#24536A #24306A #3B246A
triadic
#24306A #6A2430 #306A24
tetradic
#24306A #6A2453 #6A5E24 #246A3B
square
#24306A #6A2453 #6A5E24 #246A3B
split-complementary
#24306A #6A3B24 #536A24
monochromatic
#080A17 #141B3C #24306A #344598 #485CC1

Accessibility & contrast

On white

12.31
#24306A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24306A
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24306A#FFFFFF#000000##FFFFFF
##24306A1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E386C
Deuteranopia (green-blind)
#003269
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #24306a;
/* rgb */ color: rgb(36, 48, 106);
/* oklch */ color: oklch(33.4% 0.102 271.1);
Tailwind
colors: {
  custom: {
    50: '#676895',
    500: '#24306a',
    950: '#000000',
  },
}
SCSS
$custom: #24306a;
$custom-light: #676895;
$custom-dark: #000000;
JSON
{
  "hex": "#24306a",
  "rgb": {
    "r": 36,
    "g": 48,
    "b": 106
  },
  "hsl": {
    "h": 229.714,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33379,
    "c": 0.10191,
    "h": 271.1
  },
  "luminance": 0.0353
}

Semantic roles & 50–950 ramp

primary
#24306A
secondary
#9D8F4D
accent
#C14FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #24306A

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

Preview Lab → · Contrast checker → · Palette generator →

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