#2B24AC#2B24AC

#2B24AC is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.3% C 0.203 H 273.4°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#2B24AC
RGBrgb(43, 36, 172)
HSLhsl(243, 65%, 41%)
HSVhsv(243, 79%, 67%)
CMYKcmyk(75%, 79.1%, 0%, 32.5%)
CIE-LABlab(26.02, 47.38, -70.15)
CIE-LCHlch(26.02, 84.65, 304.04°)
OKLaboklab(38.29% 0.012 -0.2029)
OKLCHoklch(38.29% 0.203 273.4)
XYZxyz(9.0710, 4.7530, 39.4611)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B24AC #A5AC24
analogous
#2461AC #2B24AC #6F24AC
triadic
#2B24AC #AC2B24 #24AC2B
tetradic
#2B24AC #AC2461 #A5AC24 #24AC6F
square
#2B24AC #AC2461 #A5AC24 #24AC6F
split-complementary
#2B24AC #AC6F24 #61AC24
monochromatic
#120F47 #1E1979 #2B24AC #4038D5 #716AE0

Accessibility & contrast

On white

10.76
#2B24AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2B24AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B24AC
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B24AC#FFFFFF#000000##FFFFFF
##2B24AC1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B0
Deuteranopia (green-blind)
#0037AA
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b24ac;
/* rgb */ color: rgb(43, 36, 172);
/* oklch */ color: oklch(38.3% 0.203 273.4);
Tailwind
colors: {
  custom: {
    50: '#7a62c6',
    500: '#2b24ac',
    950: '#000000',
  },
}
SCSS
$custom: #2b24ac;
$custom-light: #7a62c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b24ac",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 172
  },
  "hsl": {
    "h": 243.088,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38288,
    "c": 0.2033,
    "h": 273.4
  },
  "luminance": 0.04754
}

Semantic roles & 50–950 ramp

primary
#2B24AC
secondary
#C1C666
accent
#E83FE0
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2B24AC

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

Preview Lab → · Contrast checker → · Palette generator →

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