#2B24A5#2B24A5

#2B24A5 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.195 H 274.0°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#2B24A5
RGBrgb(43, 36, 165)
HSLhsl(243, 64%, 39%)
HSVhsv(243, 78%, 65%)
CMYKcmyk(73.9%, 78.2%, 0%, 35.3%)
CIE-LABlab(25.23, 45.13, -67.22)
CIE-LCHlch(25.23, 80.97, 303.88°)
OKLaboklab(37.51% 0.0136 -0.1945)
OKLCHoklch(37.51% 0.195 274)
XYZxyz(8.4164, 4.4911, 36.0133)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B24A5 #9EA524
analogous
#245EA5 #2B24A5 #6C24A5
triadic
#2B24A5 #A52B24 #24A52B
tetradic
#2B24A5 #A5245E #9EA524 #24A56C
square
#2B24A5 #A5245E #9EA524 #24A56C
split-complementary
#2B24A5 #A56C24 #5EA524
monochromatic
#110E41 #1E1973 #2B24A5 #3C34D3 #6C66DE

Accessibility & contrast

On white

11.06
#2B24A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2B24A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B24A5
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B24A5#FFFFFF#000000##FFFFFF
##2B24A51.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b24a5;
/* rgb */ color: rgb(43, 36, 165);
/* oklch */ color: oklch(37.5% 0.195 274.0);
Tailwind
colors: {
  custom: {
    50: '#7961c1',
    500: '#2b24a5',
    950: '#000000',
  },
}
SCSS
$custom: #2b24a5;
$custom-light: #7961c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b24a5",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 243.256,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37507,
    "c": 0.19493,
    "h": 274
  },
  "luminance": 0.04492
}

Semantic roles & 50–950 ramp

primary
#2B24A5
secondary
#BEC362
accent
#E741DE
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2B24A5

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

Preview Lab → · Contrast checker → · Palette generator →

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