#2B2AAE#2B2AAE

#2B2AAE is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.3% C 0.200 H 272.6°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#2B2AAE
RGBrgb(43, 42, 174)
HSLhsl(240, 61%, 42%)
HSVhsv(240, 76%, 68%)
CMYKcmyk(75.3%, 75.9%, 0%, 31.8%)
CIE-LABlab(27.36, 44.81, -69.12)
CIE-LCHlch(27.36, 82.38, 302.95°)
OKLaboklab(39.3% 0.0091 -0.2)
OKLCHoklch(39.3% 0.2 272.6)
XYZxyz(9.4616, 5.2245, 40.5460)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2AAE #ADAE2A
analogous
#2A6BAE #2B2AAE #6D2AAE
triadic
#2B2AAE #AE2B2A #2AAE2B
tetradic
#2B2AAE #AE2A6B #ADAE2A #2AAE6D
square
#2B2AAE #AE2A6B #ADAE2A #2AAE6D
split-complementary
#2B2AAE #AE6D2A #6BAE2A
monochromatic
#13124B #1F1E7D #2B2AAE #4543D2 #7675DE

Accessibility & contrast

On white

10.27
#2B2AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2B2AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2AAE
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2AAE#FFFFFF#000000##FFFFFF
##2B2AAE1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#003AAC
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b2aae;
/* rgb */ color: rgb(43, 42, 174);
/* oklch */ color: oklch(39.3% 0.200 272.6);
Tailwind
colors: {
  custom: {
    50: '#7a66c7',
    500: '#2b2aae',
    950: '#000000',
  },
}
SCSS
$custom: #2b2aae;
$custom-light: #7a66c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2aae",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 240.455,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.393,
    "c": 0.20025,
    "h": 272.6
  },
  "luminance": 0.05226
}

Semantic roles & 50–950 ramp

primary
#2B2AAE
secondary
#C4C56F
accent
#E444E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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