#2B22B3#2B22B3

#2B22B3 is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.8% C 0.213 H 273.0°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#2B22B3
RGBrgb(43, 34, 179)
HSLhsl(244, 68%, 42%)
HSVhsv(244, 81%, 70%)
CMYKcmyk(76%, 81%, 0%, 29.8%)
CIE-LABlab(26.48, 50.57, -73.58)
CIE-LCHlch(26.48, 89.28, 304.50°)
OKLaboklab(38.84% 0.011 -0.2129)
OKLCHoklch(38.84% 0.213 273)
XYZxyz(9.7023, 4.9113, 43.0757)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B22B3 #AAB322
analogous
#2262B3 #2B22B3 #7422B3
triadic
#2B22B3 #B32B22 #22B32B
tetradic
#2B22B3 #B32262 #AAB322 #22B374
square
#2B22B3 #B32262 #AAB322 #22B374
split-complementary
#2B22B3 #B37422 #62B322
monochromatic
#120E4C #1F1880 #2B22B3 #4339D9 #746CE3

Accessibility & contrast

On white

10.59
#2B22B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2B22B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B22B3
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B22B3#FFFFFF#000000##FFFFFF
##2B22B31.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B7
Deuteranopia (green-blind)
#0038B1
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b22b3;
/* rgb */ color: rgb(43, 34, 179);
/* oklch */ color: oklch(38.8% 0.213 273.0);
Tailwind
colors: {
  custom: {
    50: '#7c61cb',
    500: '#2b22b3',
    950: '#000000',
  },
}
SCSS
$custom: #2b22b3;
$custom-light: #7c61cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b22b3",
  "rgb": {
    "r": 43,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 243.724,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38844,
    "c": 0.21316,
    "h": 273
  },
  "luminance": 0.04912
}

Semantic roles & 50–950 ramp

primary
#2B22B3
secondary
#C3C968
accent
#EB3DE0
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2B22B3

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

Preview Lab → · Contrast checker → · Palette generator →

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