#2022B3#2022B3

#2022B3 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.3% C 0.216 H 269.6°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#2022B3
RGBrgb(32, 34, 179)
HSLhsl(239, 70%, 41%)
HSVhsv(239, 82%, 70%)
CMYKcmyk(82.1%, 81%, 0%, 29.8%)
CIE-LABlab(25.88, 49.91, -74.60)
CIE-LCHlch(25.88, 89.76, 303.79°)
OKLaboklab(38.26% -0.0015 -0.216)
OKLCHoklch(38.26% 0.216 269.6)
XYZxyz(9.3016, 4.7047, 43.0569)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2022B3 #B3B120
analogous
#206CB3 #2022B3 #6820B3
triadic
#2022B3 #B32022 #22B320
tetradic
#2022B3 #B3206C #B3B120 #20B368
square
#2022B3 #B3206C #B3B120 #20B368
split-complementary
#2022B3 #B36820 #6CB320
monochromatic
#0D0E4B #17187F #2022B3 #3538DB #696BE4

Accessibility & contrast

On white

10.82
#2022B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2022B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2022B3
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2022B3#FFFFFF#000000##FFFFFF
##2022B31.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2022b3;
/* rgb */ color: rgb(32, 34, 179);
/* oklch */ color: oklch(38.3% 0.216 269.6);
Tailwind
colors: {
  custom: {
    50: '#7961cb',
    500: '#2022b3',
    950: '#000000',
  },
}
SCSS
$custom: #2022b3;
$custom-light: #7961cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2022b3",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 239.184,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.3826,
    "c": 0.21604,
    "h": 269.6
  },
  "luminance": 0.04706
}

Semantic roles & 50–950 ramp

primary
#2022B3
secondary
#CAC965
accent
#EA3BEC
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #2022B3

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

Preview Lab → · Contrast checker → · Palette generator →

#2022B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva