#2B24A4#2B24A4

#2B24A4 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.194 H 274.1°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#2B24A4
RGBrgb(43, 36, 164)
HSLhsl(243, 64%, 39%)
HSVhsv(243, 78%, 64%)
CMYKcmyk(73.8%, 78%, 0%, 35.7%)
CIE-LABlab(25.12, 44.81, -66.80)
CIE-LCHlch(25.12, 80.44, 303.85°)
OKLaboklab(37.4% 0.0138 -0.1932)
OKLCHoklch(37.4% 0.194 274.1)
XYZxyz(8.3258, 4.4548, 35.5359)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B24A4 #9DA424
analogous
#245DA4 #2B24A4 #6B24A4
triadic
#2B24A4 #A42B24 #24A42B
tetradic
#2B24A4 #A4245D #9DA424 #24A46B
square
#2B24A4 #A4245D #9DA424 #24A46B
split-complementary
#2B24A4 #A46B24 #5DA424
monochromatic
#110E40 #1E1972 #2B24A4 #3C33D2 #6C65DD

Accessibility & contrast

On white

11.10
#2B24A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2B24A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B24A4
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B24A4#FFFFFF#000000##FFFFFF
##2B24A41.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A8
Deuteranopia (green-blind)
#0035A2
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b24a4;
/* rgb */ color: rgb(43, 36, 164);
/* oklch */ color: oklch(37.4% 0.194 274.1);
Tailwind
colors: {
  custom: {
    50: '#7861c0',
    500: '#2b24a4',
    950: '#000000',
  },
}
SCSS
$custom: #2b24a4;
$custom-light: #7861c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b24a4",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 164
  },
  "hsl": {
    "h": 243.281,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37396,
    "c": 0.19372,
    "h": 274.1
  },
  "luminance": 0.04456
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B24A4

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

Preview Lab → · Contrast checker → · Palette generator →

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