#2B22AA#2B22AA

#2B22AA is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 37.8% C 0.203 H 273.7°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#2B22AA
RGBrgb(43, 34, 170)
HSLhsl(244, 67%, 40%)
HSVhsv(244, 80%, 67%)
CMYKcmyk(74.7%, 80%, 0%, 33.3%)
CIE-LABlab(25.44, 47.76, -69.90)
CIE-LCHlch(25.44, 84.66, 304.34°)
OKLaboklab(37.82% 0.0132 -0.2022)
OKLCHoklch(37.82% 0.203 273.7)
XYZxyz(8.8216, 4.5590, 38.4375)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B22AA #A1AA22
analogous
#225DAA #2B22AA #6F22AA
triadic
#2B22AA #AA2B22 #22AA2B
tetradic
#2B22AA #AA225D #A1AA22 #22AA6F
square
#2B22AA #AA225D #A1AA22 #22AA6F
split-complementary
#2B22AA #AA6F22 #5DAA22
monochromatic
#110E44 #1E1877 #2B22AA #3E33D6 #6E66E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B22AA#FFFFFF#000000##FFFFFF
##2B22AA1.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)
#0042AE
Deuteranopia (green-blind)
#0036A8
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b22aa;
/* rgb */ color: rgb(43, 34, 170);
/* oklch */ color: oklch(37.8% 0.203 273.7);
Tailwind
colors: {
  custom: {
    50: '#7a61c5',
    500: '#2b22aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b22aa;
$custom-light: #7a61c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b22aa",
  "rgb": {
    "r": 43,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 243.971,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.37817,
    "c": 0.20264,
    "h": 273.7
  },
  "luminance": 0.0456
}

Semantic roles & 50–950 ramp

primary
#2B22AA
secondary
#BFC662
accent
#EA3EDE
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2B22AA

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

Preview Lab → · Contrast checker → · Palette generator →

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