#2020B3#2020B3

#2020B3 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.0% C 0.218 H 269.7°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#2020B3
RGBrgb(32, 32, 179)
HSLhsl(240, 70%, 41%)
HSVhsv(240, 82%, 70%)
CMYKcmyk(82.1%, 82.1%, 0%, 29.8%)
CIE-LABlab(25.54, 50.88, -75.15)
CIE-LCHlch(25.54, 90.76, 304.10°)
OKLaboklab(38.03% -0.0011 -0.2176)
OKLCHoklch(38.03% 0.218 269.7)
XYZxyz(9.2461, 4.5937, 43.0384)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2020B3 #B3B320
analogous
#206AB3 #2020B3 #6A20B3
triadic
#2020B3 #B32020 #20B320
tetradic
#2020B3 #B3206A #B3B320 #20B36A
square
#2020B3 #B3206A #B3B320 #20B36A
split-complementary
#2020B3 #B36A20 #6AB320
monochromatic
#0D0D4B #17177F #2020B3 #3535DB #6969E4

Accessibility & contrast

On white

10.94
#2020B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2020B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2020B3
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2020B3#FFFFFF#000000##FFFFFF
##2020B31.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0035B1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2020b3;
/* rgb */ color: rgb(32, 32, 179);
/* oklch */ color: oklch(38.0% 0.218 269.7);
Tailwind
colors: {
  custom: {
    50: '#7960cb',
    500: '#2020b3',
    950: '#000000',
  },
}
SCSS
$custom: #2020b3;
$custom-light: #7960cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2020b3",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 240,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38029,
    "c": 0.21758,
    "h": 269.7
  },
  "luminance": 0.04595
}

Semantic roles & 50–950 ramp

primary
#2020B3
secondary
#CACA65
accent
#EC3BEC
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #2020B3

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

Preview Lab → · Contrast checker → · Palette generator →

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