#24266E#24266E

#24266E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.122 H 275.7°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#24266E
RGBrgb(36, 38, 110)
HSLhsl(238, 51%, 29%)
HSVhsv(238, 67%, 43%)
CMYKcmyk(67.3%, 65.5%, 0%, 56.9%)
CIE-LABlab(19.58, 23.87, -42.13)
CIE-LCHlch(19.58, 48.42, 299.53°)
OKLaboklab(31.65% 0.0121 -0.1214)
OKLCHoklch(31.65% 0.122 275.7)
XYZxyz(4.2342, 2.8867, 15.0829)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24266E #6E6C24
analogous
#244B6E #24266E #47246E
triadic
#24266E #6E2426 #266E24
tetradic
#24266E #6E244B #6E6C24 #246E47
square
#24266E #6E244B #6E6C24 #246E47
split-complementary
#24266E #6E4724 #4B6E24
monochromatic
#080817 #151640 #24266E #33369C #494CC3

Accessibility & contrast

On white

13.31
#24266E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#24266E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24266E
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24266E#FFFFFF#000000##FFFFFF
##24266E1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #24266e;
/* rgb */ color: rgb(36, 38, 110);
/* oklch */ color: oklch(31.6% 0.122 275.7);
Tailwind
colors: {
  custom: {
    50: '#696098',
    500: '#24266e',
    950: '#000000',
  },
}
SCSS
$custom: #24266e;
$custom-light: #696098;
$custom-dark: #000000;
JSON
{
  "hex": "#24266e",
  "rgb": {
    "r": 36,
    "g": 38,
    "b": 110
  },
  "hsl": {
    "h": 238.378,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31646,
    "c": 0.12198,
    "h": 275.7
  },
  "luminance": 0.02887
}

Semantic roles & 50–950 ramp

primary
#24266E
secondary
#A19F4D
accent
#D64EDA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #24266E

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

Preview Lab → · Contrast checker → · Palette generator →

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