#20345F#20345F

#20345F is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.2% C 0.080 H 263.8°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#20345F
RGBrgb(32, 52, 95)
HSLhsl(221, 50%, 25%)
HSVhsv(221, 66%, 37%)
CMYKcmyk(66.3%, 45.3%, 0%, 62.7%)
CIE-LABlab(22.26, 7.36, -28.05)
CIE-LCHlch(22.26, 29.00, 284.70°)
OKLaboklab(33.23% -0.0087 -0.0799)
OKLCHoklch(33.23% 0.08 263.8)
XYZxyz(3.8885, 3.5889, 11.3121)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20345F #5F4B20
analogous
#20545F #20345F #2B205F
triadic
#20345F #5F2034 #345F20
tetradic
#20345F #5F2054 #5F4B20 #205F2B
square
#20345F #5F2054 #5F4B20 #205F2B
split-complementary
#20345F #5F2B20 #545F20
monochromatic
#080D17 #111B31 #20345F #2F4D8D #3F66BB

Accessibility & contrast

On white

12.22
#20345F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#20345F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20345F
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20345F#FFFFFF#000000##FFFFFF
##20345F1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213861
Deuteranopia (green-blind)
#17335E
Tritanopia (blue-blind)
#003E44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #20345f;
/* rgb */ color: rgb(32, 52, 95);
/* oklch */ color: oklch(33.2% 0.080 263.8);
Tailwind
colors: {
  custom: {
    50: '#626b8d',
    500: '#20345f',
    950: '#000000',
  },
}
SCSS
$custom: #20345f;
$custom-light: #626b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#20345f",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 95
  },
  "hsl": {
    "h": 220.952,
    "s": 49.606,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3323,
    "c": 0.08038,
    "h": 263.8
  },
  "luminance": 0.03589
}

Semantic roles & 50–950 ramp

primary
#20345F
secondary
#937B47
accent
#AD4FD9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #20345F

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

Preview Lab → · Contrast checker → · Palette generator →

#20345F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva