#24306E#24306E

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

Color values

HEX#24306E
RGBrgb(36, 48, 110)
HSLhsl(230, 51%, 29%)
HSVhsv(230, 67%, 43%)
CMYKcmyk(67.3%, 56.4%, 0%, 56.9%)
CIE-LABlab(22.35, 16.87, -37.63)
CIE-LCHlch(22.35, 41.24, 294.14°)
OKLaboklab(33.71% 0.0023 -0.108)
OKLCHoklch(33.71% 0.108 271.2)
XYZxyz(4.5980, 3.6144, 15.2042)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24306E #6E6224
analogous
#24556E #24306E #3D246E
triadic
#24306E #6E2430 #306E24
tetradic
#24306E #6E2455 #6E6224 #246E3D
square
#24306E #6E2455 #6E6224 #246E3D
split-complementary
#24306E #6E3D24 #556E24
monochromatic
#080A17 #151C40 #24306E #33449C #495DC3

Accessibility & contrast

On white

12.19
#24306E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24306E
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24306E#FFFFFF#000000##FFFFFF
##24306E1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063970
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #24306e;
/* rgb */ color: rgb(36, 48, 110);
/* oklch */ color: oklch(33.7% 0.108 271.2);
Tailwind
colors: {
  custom: {
    50: '#686898',
    500: '#24306e',
    950: '#000000',
  },
}
SCSS
$custom: #24306e;
$custom-light: #686898;
$custom-dark: #000000;
JSON
{
  "hex": "#24306e",
  "rgb": {
    "r": 36,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 230.27,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33705,
    "c": 0.10807,
    "h": 271.2
  },
  "luminance": 0.03615
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24306E

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

Preview Lab → · Contrast checker → · Palette generator →

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