#20468C#20468C

#20468C is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.8% C 0.124 H 261.3°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#20468C
RGBrgb(32, 70, 140)
HSLhsl(219, 63%, 34%)
HSVhsv(219, 77%, 55%)
CMYKcmyk(77.1%, 50%, 0%, 45.1%)
CIE-LABlab(30.83, 12.77, -42.83)
CIE-LCHlch(30.83, 44.69, 286.60°)
OKLaboklab(40.79% -0.0188 -0.123)
OKLCHoklch(40.79% 0.124 261.3)
XYZxyz(7.5177, 6.5800, 25.6797)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20468C #8C6620
analogous
#207C8C #20468C #30208C
triadic
#20468C #8C2046 #468C20
tetradic
#20468C #8C207C #8C6620 #208C30
square
#20468C #8C207C #8C6620 #208C30
split-complementary
#20468C #8C3020 #7C8C20
monochromatic
#091428 #152D5A #20468C #2B5FBE #507FD7

Accessibility & contrast

On white

9.07
#20468C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#20468C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20468C
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20468C#FFFFFF#000000##FFFFFF
##20468C1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E8F
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #20468c;
/* rgb */ color: rgb(32, 70, 140);
/* oklch */ color: oklch(40.8% 0.124 261.3);
Tailwind
colors: {
  custom: {
    50: '#6c78ae',
    500: '#20468c',
    950: '#000000',
  },
}
SCSS
$custom: #20468c;
$custom-light: #6c78ae;
$custom-dark: #000000;
JSON
{
  "hex": "#20468c",
  "rgb": {
    "r": 32,
    "g": 70,
    "b": 140
  },
  "hsl": {
    "h": 218.889,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40794,
    "c": 0.12445,
    "h": 261.3
  },
  "luminance": 0.06581
}

Semantic roles & 50–950 ramp

primary
#20468C
secondary
#BA944E
accent
#AC42E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #20468C

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

Preview Lab → · Contrast checker → · Palette generator →

#20468C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva