#24276E#24276E

#24276E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.8% C 0.121 H 275.3°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#24276E
RGBrgb(36, 39, 110)
HSLhsl(238, 51%, 29%)
HSVhsv(238, 67%, 43%)
CMYKcmyk(67.3%, 64.5%, 0%, 56.9%)
CIE-LABlab(19.85, 23.18, -41.70)
CIE-LCHlch(19.85, 47.71, 299.07°)
OKLaboklab(31.84% 0.0112 -0.1201)
OKLCHoklch(31.84% 0.121 275.3)
XYZxyz(4.2666, 2.9515, 15.0937)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24276E #6E6B24
analogous
#244C6E #24276E #46246E
triadic
#24276E #6E2427 #276E24
tetradic
#24276E #6E244C #6E6B24 #246E46
square
#24276E #6E244C #6E6B24 #246E46
split-complementary
#24276E #6E4624 #4C6E24
monochromatic
#080817 #151740 #24276E #33379C #494EC3

Accessibility & contrast

On white

13.20
#24276E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#24276E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24276E
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24276E#FFFFFF#000000##FFFFFF
##24276E1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #24276e;
/* rgb */ color: rgb(36, 39, 110);
/* oklch */ color: oklch(31.8% 0.121 275.3);
Tailwind
colors: {
  custom: {
    50: '#686198',
    500: '#24276e',
    950: '#000000',
  },
}
SCSS
$custom: #24276e;
$custom-light: #686198;
$custom-dark: #000000;
JSON
{
  "hex": "#24276e",
  "rgb": {
    "r": 36,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 237.568,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31841,
    "c": 0.12063,
    "h": 275.3
  },
  "luminance": 0.02952
}

Semantic roles & 50–950 ramp

primary
#24276E
secondary
#A19E4D
accent
#D44EDA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #24276E

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

Preview Lab → · Contrast checker → · Palette generator →

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