#2B22A8#2B22A8

#2B22A8 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.6% C 0.200 H 273.9°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#2B22A8
RGBrgb(43, 34, 168)
HSLhsl(244, 66%, 40%)
HSVhsv(244, 80%, 66%)
CMYKcmyk(74.4%, 79.8%, 0%, 34.1%)
CIE-LABlab(25.21, 47.13, -69.07)
CIE-LCHlch(25.21, 83.62, 304.31°)
OKLaboklab(37.59% 0.0137 -0.1998)
OKLCHoklch(37.59% 0.2 273.9)
XYZxyz(8.6338, 4.4839, 37.4487)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B22A8 #9FA822
analogous
#225CA8 #2B22A8 #6E22A8
triadic
#2B22A8 #A82B22 #22A82B
tetradic
#2B22A8 #A8225C #9FA822 #22A86E
square
#2B22A8 #A8225C #9FA822 #22A86E
split-complementary
#2B22A8 #A86E22 #5CA822
monochromatic
#110D42 #1E1875 #2B22A8 #3D32D5 #6D65E0

Accessibility & contrast

On white

11.07
#2B22A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2B22A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B22A8
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B22A8#FFFFFF#000000##FFFFFF
##2B22A81.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0035A6
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b22a8;
/* rgb */ color: rgb(43, 34, 168);
/* oklch */ color: oklch(37.6% 0.200 273.9);
Tailwind
colors: {
  custom: {
    50: '#7a61c3',
    500: '#2b22a8',
    950: '#000000',
  },
}
SCSS
$custom: #2b22a8;
$custom-light: #7a61c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b22a8",
  "rgb": {
    "r": 43,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 244.03,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37591,
    "c": 0.20028,
    "h": 273.9
  },
  "luminance": 0.04485
}

Semantic roles & 50–950 ramp

primary
#2B22A8
secondary
#BEC561
accent
#E93FDE
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2B22A8

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

Preview Lab → · Contrast checker → · Palette generator →

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