#2B24A0#2B24A0

#2B24A0 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.189 H 274.5°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#2B24A0
RGBrgb(43, 36, 160)
HSLhsl(243, 63%, 38%)
HSVhsv(243, 78%, 63%)
CMYKcmyk(73.1%, 77.5%, 0%, 37.3%)
CIE-LABlab(24.68, 43.51, -65.10)
CIE-LCHlch(24.68, 78.30, 303.76°)
OKLaboklab(36.96% 0.0147 -0.1883)
OKLCHoklch(36.96% 0.189 274.5)
XYZxyz(7.9702, 4.3126, 33.6633)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B24A0 #99A024
analogous
#245BA0 #2B24A0 #6924A0
triadic
#2B24A0 #A02B24 #24A02B
tetradic
#2B24A0 #A0245B #99A024 #24A069
square
#2B24A0 #A0245B #99A024 #24A069
split-complementary
#2B24A0 #A06924 #5BA024
monochromatic
#100E3C #1E196E #2B24A0 #3A31D1 #6963DC

Accessibility & contrast

On white

11.27
#2B24A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2B24A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B24A0
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B24A0#FFFFFF#000000##FFFFFF
##2B24A01.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b24a0;
/* rgb */ color: rgb(43, 36, 160);
/* oklch */ color: oklch(37.0% 0.189 274.5);
Tailwind
colors: {
  custom: {
    50: '#7861bd',
    500: '#2b24a0',
    950: '#000000',
  },
}
SCSS
$custom: #2b24a0;
$custom-light: #7861bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b24a0",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 160
  },
  "hsl": {
    "h": 243.387,
    "s": 63.265,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36955,
    "c": 0.18886,
    "h": 274.5
  },
  "luminance": 0.04313
}

Semantic roles & 50–950 ramp

primary
#2B24A0
secondary
#BCC15F
accent
#E641DD
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2B24A0

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

Preview Lab → · Contrast checker → · Palette generator →

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