#2B24BB#2B24BB

#2B24BB is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.0% C 0.221 H 272.2°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#2B24BB
RGBrgb(43, 36, 187)
HSLhsl(243, 68%, 44%)
HSVhsv(243, 81%, 73%)
CMYKcmyk(77%, 80.7%, 0%, 26.7%)
CIE-LABlab(27.74, 52.08, -76.25)
CIE-LCHlch(27.74, 92.34, 304.34°)
OKLaboklab(39.99% 0.0085 -0.2206)
OKLCHoklch(39.99% 0.221 272.2)
XYZxyz(10.5938, 5.3620, 47.4807)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B24BB #B4BB24
analogous
#2468BB #2B24BB #7624BB
triadic
#2B24BB #BB2B24 #24BB2B
tetradic
#2B24BB #BB2468 #B4BB24 #24BB76
square
#2B24BB #BB2468 #B4BB24 #24BB76
split-complementary
#2B24BB #BB7624 #68BB24
monochromatic
#131054 #1F1A88 #2B24BB #4942DB #7A75E4

Accessibility & contrast

On white

10.13
#2B24BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2B24BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B24BB
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B24BB#FFFFFF#000000##FFFFFF
##2B24BB1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BF
Deuteranopia (green-blind)
#003AB8
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b24bb;
/* rgb */ color: rgb(43, 36, 187);
/* oklch */ color: oklch(40.0% 0.221 272.2);
Tailwind
colors: {
  custom: {
    50: '#7e63d1',
    500: '#2b24bb',
    950: '#000000',
  },
}
SCSS
$custom: #2b24bb;
$custom-light: #7e63d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b24bb",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 187
  },
  "hsl": {
    "h": 242.781,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.39991,
    "c": 0.2208,
    "h": 272.2
  },
  "luminance": 0.05363
}

Semantic roles & 50–950 ramp

primary
#2B24BB
secondary
#C7CC6F
accent
#EB3DE3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2B24BB

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

Preview Lab → · Contrast checker → · Palette generator →

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