#24166F#24166F

#24166F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.143 H 279.9°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#24166F
RGBrgb(36, 22, 111)
HSLhsl(249, 67%, 26%)
HSVhsv(249, 80%, 44%)
CMYKcmyk(67.6%, 80.2%, 0%, 56.5%)
CIE-LABlab(15.98, 34.34, -48.69)
CIE-LCHlch(15.98, 59.58, 305.19°)
OKLaboklab(29.09% 0.0246 -0.1405)
OKLCHoklch(29.09% 0.143 279.9)
XYZxyz(3.8828, 2.0963, 15.2359)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24166F #616F16
analogous
#16346F #24166F #50166F
triadic
#24166F #6F2416 #166F24
tetradic
#24166F #6F1634 #616F16 #166F50
square
#24166F #6F1634 #616F16 #166F50
split-complementary
#24166F #6F5016 #346F16
monochromatic
#08051A #130C3C #24166F #3520A2 #452BD5

Accessibility & contrast

On white

14.79
#24166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#24166F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24166F
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24166F#FFFFFF#000000##FFFFFF
##24166F1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00246D
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #24166f;
/* rgb */ color: rgb(36, 22, 111);
/* oklch */ color: oklch(29.1% 0.143 279.9);
Tailwind
colors: {
  custom: {
    50: '#6a5699',
    500: '#24166f',
    950: '#000000',
  },
}
SCSS
$custom: #24166f;
$custom-light: #6a5699;
$custom-dark: #000000;
JSON
{
  "hex": "#24166f",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 249.438,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.2909,
    "c": 0.14268,
    "h": 279.9
  },
  "luminance": 0.02097
}

Semantic roles & 50–950 ramp

primary
#24166F
secondary
#94A53C
accent
#EA3ECF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #24166F

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

Preview Lab → · Contrast checker → · Palette generator →

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