#20308F#20308F

#20308F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.157 H 269.3°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#20308F
RGBrgb(32, 48, 143)
HSLhsl(231, 63%, 34%)
HSVhsv(231, 78%, 56%)
CMYKcmyk(77.6%, 66.4%, 0%, 43.9%)
CIE-LABlab(24.96, 29.04, -54.22)
CIE-LCHlch(24.96, 61.51, 298.18°)
OKLaboklab(36.46% -0.002 -0.1568)
OKLCHoklch(36.46% 0.157 269.3)
XYZxyz(6.6088, 4.4034, 26.4829)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20308F #8F7F20
analogous
#20688F #20308F #47208F
triadic
#20308F #8F2030 #308F20
tetradic
#20308F #8F2068 #8F7F20 #208F47
square
#20308F #8F2068 #8F7F20 #208F47
split-complementary
#20308F #8F4720 #688F20
monochromatic
#0A0E2B #151F5D #20308F #2B41C1 #5165D8

Accessibility & contrast

On white

11.17
#20308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#20308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20308F
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20308F#FFFFFF#000000##FFFFFF
##20308F1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #20308f;
/* rgb */ color: rgb(32, 48, 143);
/* oklch */ color: oklch(36.5% 0.157 269.3);
Tailwind
colors: {
  custom: {
    50: '#6e68b1',
    500: '#20308f',
    950: '#000000',
  },
}
SCSS
$custom: #20308f;
$custom-light: #6e68b1;
$custom-dark: #000000;
JSON
{
  "hex": "#20308f",
  "rgb": {
    "r": 32,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 231.351,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36464,
    "c": 0.15684,
    "h": 269.3
  },
  "luminance": 0.04404
}

Semantic roles & 50–950 ramp

primary
#20308F
secondary
#BBAC4F
accent
#CF41E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #20308F

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

Preview Lab → · Contrast checker → · Palette generator →

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