#2B24A7#2B24A7

#2B24A7 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.7% C 0.197 H 273.8°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#2B24A7
RGBrgb(43, 36, 167)
HSLhsl(243, 65%, 40%)
HSVhsv(243, 78%, 65%)
CMYKcmyk(74.3%, 78.4%, 0%, 34.5%)
CIE-LABlab(25.46, 45.78, -68.06)
CIE-LCHlch(25.46, 82.03, 303.92°)
OKLaboklab(37.73% 0.0131 -0.1969)
OKLCHoklch(37.73% 0.197 273.8)
XYZxyz(8.5999, 4.5645, 36.9795)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B24A7 #A0A724
analogous
#245FA7 #2B24A7 #6C24A7
triadic
#2B24A7 #A72B24 #24A72B
tetradic
#2B24A7 #A7245F #A0A724 #24A76C
square
#2B24A7 #A7245F #A0A724 #24A76C
split-complementary
#2B24A7 #A76C24 #5FA724
monochromatic
#110E42 #1E1975 #2B24A7 #3D35D3 #6E67DE

Accessibility & contrast

On white

10.98
#2B24A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B24A7
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B24A7#FFFFFF#000000##FFFFFF
##2B24A71.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AB
Deuteranopia (green-blind)
#0036A5
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b24a7;
/* rgb */ color: rgb(43, 36, 167);
/* oklch */ color: oklch(37.7% 0.197 273.8);
Tailwind
colors: {
  custom: {
    50: '#7962c2',
    500: '#2b24a7',
    950: '#000000',
  },
}
SCSS
$custom: #2b24a7;
$custom-light: #7962c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b24a7",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 243.206,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37729,
    "c": 0.19734,
    "h": 273.8
  },
  "luminance": 0.04565
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B24A7

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

Preview Lab → · Contrast checker → · Palette generator →

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