#2B22A7#2B22A7

#2B22A7 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.5% C 0.199 H 274.0°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#2B22A7
RGBrgb(43, 34, 167)
HSLhsl(244, 66%, 39%)
HSVhsv(244, 80%, 65%)
CMYKcmyk(74.3%, 79.6%, 0%, 34.5%)
CIE-LABlab(25.10, 46.81, -68.66)
CIE-LCHlch(25.10, 83.10, 304.29°)
OKLaboklab(37.48% 0.0139 -0.1986)
OKLCHoklch(37.48% 0.199 274)
XYZxyz(8.5410, 4.4468, 36.9599)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B22A7 #9EA722
analogous
#225CA7 #2B22A7 #6E22A7
triadic
#2B22A7 #A72B22 #22A72B
tetradic
#2B22A7 #A7225C #9EA722 #22A76E
square
#2B22A7 #A7225C #9EA722 #22A76E
split-complementary
#2B22A7 #A76E22 #5CA722
monochromatic
#110D41 #1E1874 #2B22A7 #3C31D5 #6C64DF

Accessibility & contrast

On white

11.11
#2B22A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2B22A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B22A7
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B22A7#FFFFFF#000000##FFFFFF
##2B22A71.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AB
Deuteranopia (green-blind)
#0035A5
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b22a7;
/* rgb */ color: rgb(43, 34, 167);
/* oklch */ color: oklch(37.5% 0.199 274.0);
Tailwind
colors: {
  custom: {
    50: '#7960c2',
    500: '#2b22a7',
    950: '#000000',
  },
}
SCSS
$custom: #2b22a7;
$custom-light: #7960c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b22a7",
  "rgb": {
    "r": 43,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 244.06,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37478,
    "c": 0.19909,
    "h": 274
  },
  "luminance": 0.04448
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B22A7

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

Preview Lab → · Contrast checker → · Palette generator →

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