#2C24A8#2C24A8

#2C24A8 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.9% C 0.198 H 274.1°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#2C24A8
RGBrgb(44, 36, 168)
HSLhsl(244, 65%, 40%)
HSVhsv(244, 79%, 66%)
CMYKcmyk(73.8%, 78.6%, 0%, 34.1%)
CIE-LABlab(25.63, 46.18, -68.37)
CIE-LCHlch(25.63, 82.51, 304.04°)
OKLaboklab(37.9% 0.0141 -0.1978)
OKLCHoklch(37.9% 0.198 274.1)
XYZxyz(8.7351, 4.6235, 37.4703)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C24A8 #A0A824
analogous
#245EA8 #2C24A8 #6E24A8
triadic
#2C24A8 #A82C24 #24A82C
tetradic
#2C24A8 #A8245E #A0A824 #24A86E
square
#2C24A8 #A8245E #A0A824 #24A86E
split-complementary
#2C24A8 #A86E24 #5EA824
monochromatic
#120E43 #1F1976 #2C24A8 #3F35D4 #6F68DF

Accessibility & contrast

On white

10.91
#2C24A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2C24A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C24A8
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C24A8#FFFFFF#000000##FFFFFF
##2C24A81.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#0036A6
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c24a8;
/* rgb */ color: rgb(44, 36, 168);
/* oklch */ color: oklch(37.9% 0.198 274.1);
Tailwind
colors: {
  custom: {
    50: '#7a62c3',
    500: '#2c24a8',
    950: '#000000',
  },
}
SCSS
$custom: #2c24a8;
$custom-light: #7a62c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c24a8",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 243.636,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.37904,
    "c": 0.19828,
    "h": 274.1
  },
  "luminance": 0.04624
}

Semantic roles & 50–950 ramp

primary
#2C24A8
secondary
#BFC463
accent
#E840DE
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2C24A8

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

Preview Lab → · Contrast checker → · Palette generator →

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