#2A22BD#2A22BD

#2A22BD is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.9% C 0.225 H 271.9°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#2A22BD
RGBrgb(42, 34, 189)
HSLhsl(243, 70%, 44%)
HSVhsv(243, 82%, 74%)
CMYKcmyk(77.8%, 82%, 0%, 25.9%)
CIE-LABlab(27.60, 53.57, -77.67)
CIE-LCHlch(27.60, 94.35, 304.60°)
OKLaboklab(39.94% 0.0074 -0.2247)
OKLCHoklch(39.94% 0.225 271.9)
XYZxyz(10.7091, 5.3092, 48.5946)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A22BD #B5BD22
analogous
#2267BD #2A22BD #7722BD
triadic
#2A22BD #BD2A22 #22BD2A
tetradic
#2A22BD #BD2267 #B5BD22 #22BD77
square
#2A22BD #BD2267 #B5BD22 #22BD77
split-complementary
#2A22BD #BD7722 #67BD22
monochromatic
#130F55 #1E1989 #2A22BD #4840DD #7973E6

Accessibility & contrast

On white

10.18
#2A22BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2A22BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A22BD
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A22BD#FFFFFF#000000##FFFFFF
##2A22BD1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049C1
Deuteranopia (green-blind)
#0039BA
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a22bd;
/* rgb */ color: rgb(42, 34, 189);
/* oklch */ color: oklch(39.9% 0.225 271.9);
Tailwind
colors: {
  custom: {
    50: '#7e62d2',
    500: '#2a22bd',
    950: '#000000',
  },
}
SCSS
$custom: #2a22bd;
$custom-light: #7e62d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a22bd",
  "rgb": {
    "r": 42,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 243.097,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.39943,
    "c": 0.22487,
    "h": 271.9
  },
  "luminance": 0.0531
}

Semantic roles & 50–950 ramp

primary
#2A22BD
secondary
#C8CD6E
accent
#EC3BE3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2A22BD

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

Preview Lab → · Contrast checker → · Palette generator →

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