#2B24A8#2B24A8

#2B24A8 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.8% C 0.199 H 273.7°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#2B24A8
RGBrgb(43, 36, 168)
HSLhsl(243, 65%, 40%)
HSVhsv(243, 79%, 66%)
CMYKcmyk(74.4%, 78.6%, 0%, 34.1%)
CIE-LABlab(25.57, 46.10, -68.48)
CIE-LCHlch(25.57, 82.55, 303.95°)
OKLaboklab(37.84% 0.0129 -0.1981)
OKLCHoklch(37.84% 0.199 273.7)
XYZxyz(8.6927, 4.6016, 37.4683)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B24A8 #A1A824
analogous
#245FA8 #2B24A8 #6D24A8
triadic
#2B24A8 #A82B24 #24A82B
tetradic
#2B24A8 #A8245F #A1A824 #24A86D
square
#2B24A8 #A8245F #A1A824 #24A86D
split-complementary
#2B24A8 #A86D24 #5FA824
monochromatic
#110E43 #1E1976 #2B24A8 #3E35D4 #6E68DF

Accessibility & contrast

On white

10.94
#2B24A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2B24A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B24A8
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B24A8#FFFFFF#000000##FFFFFF
##2B24A81.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#0036A6
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b24a8;
/* rgb */ color: rgb(43, 36, 168);
/* oklch */ color: oklch(37.8% 0.199 273.7);
Tailwind
colors: {
  custom: {
    50: '#7962c3',
    500: '#2b24a8',
    950: '#000000',
  },
}
SCSS
$custom: #2b24a8;
$custom-light: #7962c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b24a8",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 243.182,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.37841,
    "c": 0.19854,
    "h": 273.7
  },
  "luminance": 0.04602
}

Semantic roles & 50–950 ramp

primary
#2B24A8
secondary
#BFC463
accent
#E840DF
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2B24A8

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

Preview Lab → · Contrast checker → · Palette generator →

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