#2B24C5#2B24C5

#2B24C5 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 41.1% C 0.232 H 271.5°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#2B24C5
RGBrgb(43, 36, 197)
HSLhsl(243, 69%, 46%)
HSVhsv(243, 82%, 77%)
CMYKcmyk(78.2%, 81.7%, 0%, 22.7%)
CIE-LABlab(28.92, 55.13, -80.20)
CIE-LCHlch(28.92, 97.32, 304.51°)
OKLaboklab(41.14% 0.0062 -0.2321)
OKLCHoklch(41.14% 0.232 271.5)
XYZxyz(11.7018, 5.8053, 53.3163)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B24C5 #BEC524
analogous
#246DC5 #2B24C5 #7C24C5
triadic
#2B24C5 #C52B24 #24C52B
tetradic
#2B24C5 #C5246D #BEC524 #24C57C
square
#2B24C5 #C5246D #BEC524 #24C57C
split-complementary
#2B24C5 #C57C24 #6DC524
monochromatic
#14115E #201B91 #2B24C5 #4F49DE #817CE7

Accessibility & contrast

On white

9.72
#2B24C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2B24C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B24C5
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B24C5#FFFFFF#000000##FFFFFF
##2B24C51.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC9
Deuteranopia (green-blind)
#003CC2
Tritanopia (blue-blind)
#005876
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b24c5;
/* rgb */ color: rgb(43, 36, 197);
/* oklch */ color: oklch(41.1% 0.232 271.5);
Tailwind
colors: {
  custom: {
    50: '#8064d8',
    500: '#2b24c5',
    950: '#000000',
  },
}
SCSS
$custom: #2b24c5;
$custom-light: #8064d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b24c5",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 197
  },
  "hsl": {
    "h": 242.609,
    "s": 69.099,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41143,
    "c": 0.23217,
    "h": 271.5
  },
  "luminance": 0.05807
}

Semantic roles & 50–950 ramp

primary
#2B24C5
secondary
#CBCF76
accent
#EC3CE4
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2B24C5

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

Preview Lab → · Contrast checker → · Palette generator →

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