#2B22BD#2B22BD

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

Color values

HEX#2B22BD
RGBrgb(43, 34, 189)
HSLhsl(243, 70%, 44%)
HSVhsv(243, 82%, 74%)
CMYKcmyk(77.2%, 82%, 0%, 25.9%)
CIE-LABlab(27.66, 53.63, -77.57)
CIE-LCHlch(27.66, 94.31, 304.66°)
OKLaboklab(40% 0.0086 -0.2244)
OKLCHoklch(40% 0.225 272.2)
XYZxyz(10.7505, 5.3306, 48.5966)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B22BD #B4BD22
analogous
#2266BD #2B22BD #7822BD
triadic
#2B22BD #BD2B22 #22BD2B
tetradic
#2B22BD #BD2266 #B4BD22 #22BD78
square
#2B22BD #BD2266 #B4BD22 #22BD78
split-complementary
#2B22BD #BD7822 #66BD22
monochromatic
#130F55 #1F1989 #2B22BD #4940DD #7A73E6

Accessibility & contrast

On white

10.16
#2B22BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2B22BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B22BD
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B22BD#FFFFFF#000000##FFFFFF
##2B22BD1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b22bd;
/* rgb */ color: rgb(43, 34, 189);
/* oklch */ color: oklch(40.0% 0.225 272.2);
Tailwind
colors: {
  custom: {
    50: '#7f62d2',
    500: '#2b22bd',
    950: '#000000',
  },
}
SCSS
$custom: #2b22bd;
$custom-light: #7f62d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b22bd",
  "rgb": {
    "r": 43,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 243.484,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.39999,
    "c": 0.22461,
    "h": 272.2
  },
  "luminance": 0.05332
}

Semantic roles & 50–950 ramp

primary
#2B22BD
secondary
#C7CD6E
accent
#EC3BE2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2B22BD

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

Preview Lab → · Contrast checker → · Palette generator →

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