#2B24D9#2B24D9

#2B24D9 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.5% C 0.254 H 270.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#2B24D9
RGBrgb(43, 36, 217)
HSLhsl(242, 72%, 50%)
HSVhsv(242, 83%, 85%)
CMYKcmyk(80.2%, 83.4%, 0%, 14.9%)
CIE-LABlab(31.31, 61.06, -87.86)
CIE-LCHlch(31.31, 107.00, 304.80°)
OKLaboklab(43.48% 0.0016 -0.2543)
OKLCHoklch(43.48% 0.254 270.4)
XYZxyz(14.1473, 6.7835, 66.1959)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B24D9 #D2D924
analogous
#2478D9 #2B24D9 #8524D9
triadic
#2B24D9 #D92B24 #24D92B
tetradic
#2B24D9 #D92478 #D2D924 #24D985
square
#2B24D9 #D92478 #D2D924 #24D985
split-complementary
#2B24D9 #D98524 #78D924
monochromatic
#161370 #211BA5 #2B24D9 #5C57E3 #8F8CEC

Accessibility & contrast

On white

8.91
#2B24D9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2B24D9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B24D9
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B24D9#FFFFFF#000000##FFFFFF
##2B24D91.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053DE
Deuteranopia (green-blind)
#0040D6
Tritanopia (blue-blind)
#006082
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b24d9;
/* rgb */ color: rgb(43, 36, 217);
/* oklch */ color: oklch(43.5% 0.254 270.4);
Tailwind
colors: {
  custom: {
    50: '#8565e6',
    500: '#2b24d9',
    950: '#000000',
  },
}
SCSS
$custom: #2b24d9;
$custom-light: #8565e6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b24d9",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 217
  },
  "hsl": {
    "h": 242.32,
    "s": 71.542,
    "l": 49.608
  },
  "oklch": {
    "l": 0.43479,
    "c": 0.25427,
    "h": 270.4
  },
  "luminance": 0.06785
}

Semantic roles & 50–950 ramp

primary
#2B24D9
secondary
#D3D683
accent
#EE3AE7
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0D0616
muted
#7E7A84

Preview Lab

Preview with #2B24D9

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

Preview Lab → · Contrast checker → · Palette generator →

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