#24276F#24276F

#24276F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.122 H 275.2°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#24276F
RGBrgb(36, 39, 111)
HSLhsl(238, 51%, 29%)
HSVhsv(238, 68%, 44%)
CMYKcmyk(67.6%, 64.9%, 0%, 56.5%)
CIE-LABlab(19.94, 23.56, -42.20)
CIE-LCHlch(19.94, 48.33, 299.17°)
OKLaboklab(31.93% 0.0111 -0.1216)
OKLCHoklch(31.93% 0.122 275.2)
XYZxyz(4.3214, 2.9734, 15.3820)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24276F #6F6C24
analogous
#244D6F #24276F #47246F
triadic
#24276F #6F2427 #276F24
tetradic
#24276F #6F244D #6F6C24 #246F47
square
#24276F #6F244D #6F6C24 #246F47
split-complementary
#24276F #6F4724 #4D6F24
monochromatic
#070817 #151741 #24276F #33379D #494EC4

Accessibility & contrast

On white

13.17
#24276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24276F
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24276F#FFFFFF#000000##FFFFFF
##24276F1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #24276f;
/* rgb */ color: rgb(36, 39, 111);
/* oklch */ color: oklch(31.9% 0.122 275.2);
Tailwind
colors: {
  custom: {
    50: '#696199',
    500: '#24276f',
    950: '#000000',
  },
}
SCSS
$custom: #24276f;
$custom-light: #696199;
$custom-dark: #000000;
JSON
{
  "hex": "#24276f",
  "rgb": {
    "r": 36,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 237.6,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31933,
    "c": 0.12209,
    "h": 275.2
  },
  "luminance": 0.02974
}

Semantic roles & 50–950 ramp

primary
#24276F
secondary
#A29F4D
accent
#D54DDA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #24276F

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

Preview Lab → · Contrast checker → · Palette generator →

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