#24226E#24226E

#24226E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.127 H 277.1°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#24226E
RGBrgb(36, 34, 110)
HSLhsl(242, 53%, 28%)
HSVhsv(242, 69%, 43%)
CMYKcmyk(67.3%, 69.1%, 0%, 56.9%)
CIE-LABlab(18.56, 26.57, -43.80)
CIE-LCHlch(18.56, 51.24, 301.24°)
OKLaboklab(30.9% 0.0157 -0.1263)
OKLCHoklch(30.9% 0.127 277.1)
XYZxyz(4.1131, 2.6446, 15.0425)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24226E #6C6E22
analogous
#22466E #24226E #4A226E
triadic
#24226E #6E2422 #226E24
tetradic
#24226E #6E2246 #6C6E22 #226E4A
square
#24226E #6E2246 #6C6E22 #226E4A
split-complementary
#24226E #6E4A22 #466E22
monochromatic
#080717 #15143F #24226E #33309D #4845C5

Accessibility & contrast

On white

13.73
#24226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#24226E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24226E
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24226E#FFFFFF#000000##FFFFFF
##24226E1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #24226e;
/* rgb */ color: rgb(36, 34, 110);
/* oklch */ color: oklch(30.9% 0.127 277.1);
Tailwind
colors: {
  custom: {
    50: '#695d98',
    500: '#24226e',
    950: '#000000',
  },
}
SCSS
$custom: #24226e;
$custom-light: #695d98;
$custom-dark: #000000;
JSON
{
  "hex": "#24226e",
  "rgb": {
    "r": 36,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 241.579,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30898,
    "c": 0.12728,
    "h": 277.1
  },
  "luminance": 0.02645
}

Semantic roles & 50–950 ramp

primary
#24226E
secondary
#9FA14A
accent
#DC4CD8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #24226E

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

Preview Lab → · Contrast checker → · Palette generator →

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