#2C24A6#2C24A6

#2C24A6 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.7% C 0.196 H 274.3°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#2C24A6
RGBrgb(44, 36, 166)
HSLhsl(244, 64%, 40%)
HSVhsv(244, 78%, 65%)
CMYKcmyk(73.5%, 78.3%, 0%, 34.9%)
CIE-LABlab(25.41, 45.54, -67.53)
CIE-LCHlch(25.41, 81.45, 303.99°)
OKLaboklab(37.68% 0.0146 -0.1953)
OKLCHoklch(37.68% 0.196 274.3)
XYZxyz(8.5502, 4.5495, 36.4965)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C24A6 #9EA624
analogous
#245DA6 #2C24A6 #6D24A6
triadic
#2C24A6 #A62C24 #24A62C
tetradic
#2C24A6 #A6245D #9EA624 #24A66D
square
#2C24A6 #A6245D #9EA624 #24A66D
split-complementary
#2C24A6 #A66D24 #5DA624
monochromatic
#110E41 #1F1974 #2C24A6 #3E34D3 #6E66DE

Accessibility & contrast

On white

10.99
#2C24A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2C24A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C24A6
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C24A6#FFFFFF#000000##FFFFFF
##2C24A61.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AA
Deuteranopia (green-blind)
#0036A4
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c24a6;
/* rgb */ color: rgb(44, 36, 166);
/* oklch */ color: oklch(37.7% 0.196 274.3);
Tailwind
colors: {
  custom: {
    50: '#7962c2',
    500: '#2c24a6',
    950: '#000000',
  },
}
SCSS
$custom: #2c24a6;
$custom-light: #7962c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c24a6",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 243.692,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37682,
    "c": 0.19589,
    "h": 274.3
  },
  "luminance": 0.0455
}

Semantic roles & 50–950 ramp

primary
#2C24A6
secondary
#BEC462
accent
#E740DD
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2C24A6

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

Preview Lab → · Contrast checker → · Palette generator →

#2C24A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva