#2B22A9#2B22A9

#2B22A9 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.7% C 0.201 H 273.8°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#2B22A9
RGBrgb(43, 34, 169)
HSLhsl(244, 67%, 40%)
HSVhsv(244, 80%, 66%)
CMYKcmyk(74.6%, 79.9%, 0%, 33.7%)
CIE-LABlab(25.32, 47.45, -69.49)
CIE-LCHlch(25.32, 84.14, 304.32°)
OKLaboklab(37.7% 0.0134 -0.201)
OKLCHoklch(37.7% 0.201 273.8)
XYZxyz(8.7273, 4.5213, 37.9412)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B22A9 #A0A922
analogous
#225DA9 #2B22A9 #6F22A9
triadic
#2B22A9 #A92B22 #22A92B
tetradic
#2B22A9 #A9225D #A0A922 #22A96F
square
#2B22A9 #A9225D #A0A922 #22A96F
split-complementary
#2B22A9 #A96F22 #5DA922
monochromatic
#110D43 #1E1876 #2B22A9 #3D32D6 #6E65E0

Accessibility & contrast

On white

11.03
#2B22A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B22A9
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B22A9#FFFFFF#000000##FFFFFF
##2B22A91.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AD
Deuteranopia (green-blind)
#0036A7
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b22a9;
/* rgb */ color: rgb(43, 34, 169);
/* oklch */ color: oklch(37.7% 0.201 273.8);
Tailwind
colors: {
  custom: {
    50: '#7a61c4',
    500: '#2b22a9',
    950: '#000000',
  },
}
SCSS
$custom: #2b22a9;
$custom-light: #7a61c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b22a9",
  "rgb": {
    "r": 43,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 244,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37704,
    "c": 0.20146,
    "h": 273.8
  },
  "luminance": 0.04522
}

Semantic roles & 50–950 ramp

primary
#2B22A9
secondary
#BFC561
accent
#E93EDE
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2B22A9

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

Preview Lab → · Contrast checker → · Palette generator →

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