#24308E#24308E

#24308E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.154 H 270.8°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#24308E
RGBrgb(36, 48, 142)
HSLhsl(233, 60%, 35%)
HSVhsv(233, 75%, 56%)
CMYKcmyk(74.6%, 66.2%, 0%, 44.3%)
CIE-LABlab(25.08, 29.12, -53.40)
CIE-LCHlch(25.08, 60.82, 298.61°)
OKLaboklab(36.58% 0.0022 -0.1543)
OKLCHoklch(36.58% 0.154 270.8)
XYZxyz(6.6653, 4.4413, 26.0919)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24308E #8E8224
analogous
#24658E #24308E #4D248E
triadic
#24308E #8E2430 #308E24
tetradic
#24308E #8E2465 #8E8224 #248E4D
square
#24308E #8E2465 #8E8224 #248E4D
split-complementary
#24308E #8E4D24 #658E24
monochromatic
#0B0F2C #181F5D #24308E #3041BF #5866D5

Accessibility & contrast

On white

11.12
#24308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#24308E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24308E
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24308E#FFFFFF#000000##FFFFFF
##24308E1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #24308e;
/* rgb */ color: rgb(36, 48, 142);
/* oklch */ color: oklch(36.6% 0.154 270.8);
Tailwind
colors: {
  custom: {
    50: '#6f68b0',
    500: '#24308e',
    950: '#000000',
  },
}
SCSS
$custom: #24308e;
$custom-light: #6f68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#24308e",
  "rgb": {
    "r": 36,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 233.208,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36579,
    "c": 0.15437,
    "h": 270.8
  },
  "luminance": 0.04442
}

Semantic roles & 50–950 ramp

primary
#24308E
secondary
#B9AE55
accent
#D145E3
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #24308E

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

Preview Lab → · Contrast checker → · Palette generator →

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