#20306E#20306E

#20306E is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.5% C 0.109 H 268.9°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#20306E
RGBrgb(32, 48, 110)
HSLhsl(228, 55%, 28%)
HSVhsv(228, 71%, 43%)
CMYKcmyk(70.9%, 56.4%, 0%, 56.9%)
CIE-LABlab(22.11, 16.16, -38.04)
CIE-LCHlch(22.11, 41.33, 293.01°)
OKLaboklab(33.46% -0.0021 -0.1093)
OKLCHoklch(33.46% 0.109 268.9)
XYZxyz(4.4661, 3.5463, 15.1980)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20306E #6E5E20
analogous
#20576E #20306E #37206E
triadic
#20306E #6E2030 #306E20
tetradic
#20306E #6E2057 #6E5E20 #206E37
square
#20306E #6E2057 #6E5E20 #206E37
split-complementary
#20306E #6E3720 #576E20
monochromatic
#070A18 #121B3F #20306E #2E459D #415CC8

Accessibility & contrast

On white

12.29
#20306E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#20306E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20306E
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20306E#FFFFFF#000000##FFFFFF
##20306E1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053970
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #20306e;
/* rgb */ color: rgb(32, 48, 110);
/* oklch */ color: oklch(33.5% 0.109 268.9);
Tailwind
colors: {
  custom: {
    50: '#666798',
    500: '#20306e',
    950: '#000000',
  },
}
SCSS
$custom: #20306e;
$custom-light: #666798;
$custom-dark: #000000;
JSON
{
  "hex": "#20306e",
  "rgb": {
    "r": 32,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 227.692,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33458,
    "c": 0.10936,
    "h": 268.9
  },
  "luminance": 0.03547
}

Semantic roles & 50–950 ramp

primary
#20306E
secondary
#A28F48
accent
#C04ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #20306E

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

Preview Lab → · Contrast checker → · Palette generator →

#20306E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva