#2B24A3#2B24A3

#2B24A3 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.3% C 0.193 H 274.2°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#2B24A3
RGBrgb(43, 36, 163)
HSLhsl(243, 64%, 39%)
HSVhsv(243, 78%, 64%)
CMYKcmyk(73.6%, 77.9%, 0%, 36.1%)
CIE-LABlab(25.01, 44.48, -66.38)
CIE-LCHlch(25.01, 79.90, 303.83°)
OKLaboklab(37.29% 0.014 -0.192)
OKLCHoklch(37.29% 0.193 274.2)
XYZxyz(8.2358, 4.4189, 35.0621)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B24A3 #9CA324
analogous
#245DA3 #2B24A3 #6B24A3
triadic
#2B24A3 #A32B24 #24A32B
tetradic
#2B24A3 #A3245D #9CA324 #24A36B
square
#2B24A3 #A3245D #9CA324 #24A36B
split-complementary
#2B24A3 #A36B24 #5DA324
monochromatic
#110E3F #1E1971 #2B24A3 #3B32D2 #6B65DD

Accessibility & contrast

On white

11.15
#2B24A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2B24A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B24A3
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B24A3#FFFFFF#000000##FFFFFF
##2B24A31.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A7
Deuteranopia (green-blind)
#0035A1
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b24a3;
/* rgb */ color: rgb(43, 36, 163);
/* oklch */ color: oklch(37.3% 0.193 274.2);
Tailwind
colors: {
  custom: {
    50: '#7861c0',
    500: '#2b24a3',
    950: '#000000',
  },
}
SCSS
$custom: #2b24a3;
$custom-light: #7861c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b24a3",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 243.307,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37285,
    "c": 0.19251,
    "h": 274.2
  },
  "luminance": 0.0442
}

Semantic roles & 50–950 ramp

primary
#2B24A3
secondary
#BDC260
accent
#E741DE
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2B24A3

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

Preview Lab → · Contrast checker → · Palette generator →

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