#2B24A6#2B24A6

#2B24A6 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.6% C 0.196 H 273.9°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#2B24A6
RGBrgb(43, 36, 166)
HSLhsl(243, 64%, 40%)
HSVhsv(243, 78%, 65%)
CMYKcmyk(74.1%, 78.3%, 0%, 34.9%)
CIE-LABlab(25.34, 45.46, -67.64)
CIE-LCHlch(25.34, 81.50, 303.90°)
OKLaboklab(37.62% 0.0133 -0.1957)
OKLCHoklch(37.62% 0.196 273.9)
XYZxyz(8.5078, 4.5277, 36.4946)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B24A6 #9FA624
analogous
#245EA6 #2B24A6 #6C24A6
triadic
#2B24A6 #A62B24 #24A62B
tetradic
#2B24A6 #A6245E #9FA624 #24A66C
square
#2B24A6 #A6245E #9FA624 #24A66C
split-complementary
#2B24A6 #A66C24 #5EA624
monochromatic
#110E41 #1E1974 #2B24A6 #3D34D3 #6D66DE

Accessibility & contrast

On white

11.02
#2B24A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2B24A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B24A6
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B24A6#FFFFFF#000000##FFFFFF
##2B24A61.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b24a6;
/* rgb */ color: rgb(43, 36, 166);
/* oklch */ color: oklch(37.6% 0.196 273.9);
Tailwind
colors: {
  custom: {
    50: '#7962c2',
    500: '#2b24a6',
    950: '#000000',
  },
}
SCSS
$custom: #2b24a6;
$custom-light: #7962c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b24a6",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 243.231,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37618,
    "c": 0.19613,
    "h": 273.9
  },
  "luminance": 0.04529
}

Semantic roles & 50–950 ramp

primary
#2B24A6
secondary
#BEC462
accent
#E740DE
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2B24A6

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

Preview Lab → · Contrast checker → · Palette generator →

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