#2B22A3#2B22A3

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

Color values

HEX#2B22A3
RGBrgb(43, 34, 163)
HSLhsl(244, 65%, 39%)
HSVhsv(244, 79%, 64%)
CMYKcmyk(73.6%, 79.1%, 0%, 36.1%)
CIE-LABlab(24.64, 45.54, -66.98)
CIE-LCHlch(24.64, 81.00, 304.21°)
OKLaboklab(37.03% 0.0149 -0.1937)
OKLCHoklch(37.03% 0.194 274.4)
XYZxyz(8.1770, 4.3012, 35.0425)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B22A3 #9AA322
analogous
#2259A3 #2B22A3 #6B22A3
triadic
#2B22A3 #A32B22 #22A32B
tetradic
#2B22A3 #A32259 #9AA322 #22A36B
square
#2B22A3 #A32259 #9AA322 #22A36B
split-complementary
#2B22A3 #A36B22 #59A322
monochromatic
#100D3E #1E1770 #2B22A3 #3A2FD4 #6A61DE

Accessibility & contrast

On white

11.29
#2B22A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B22A3
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B22A3#FFFFFF#000000##FFFFFF
##2B22A31.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A7
Deuteranopia (green-blind)
#0034A1
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b22a3;
/* rgb */ color: rgb(43, 34, 163);
/* oklch */ color: oklch(37.0% 0.194 274.4);
Tailwind
colors: {
  custom: {
    50: '#7860c0',
    500: '#2b22a3',
    950: '#000000',
  },
}
SCSS
$custom: #2b22a3;
$custom-light: #7860c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b22a3",
  "rgb": {
    "r": 43,
    "g": 34,
    "b": 163
  },
  "hsl": {
    "h": 244.186,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37028,
    "c": 0.19432,
    "h": 274.4
  },
  "luminance": 0.04302
}

Semantic roles & 50–950 ramp

primary
#2B22A3
secondary
#BCC35E
accent
#E83FDD
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2B22A3

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

Preview Lab → · Contrast checker → · Palette generator →

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