#202D6E#202D6E

#202D6E is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.8% C 0.114 H 270.4°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#202D6E
RGBrgb(32, 45, 110)
HSLhsl(230, 55%, 28%)
HSVhsv(230, 71%, 43%)
CMYKcmyk(70.9%, 59.1%, 0%, 56.9%)
CIE-LABlab(21.24, 18.29, -39.45)
CIE-LCHlch(21.24, 43.48, 294.88°)
OKLaboklab(32.81% 0.0007 -0.1135)
OKLCHoklch(32.81% 0.114 270.4)
XYZxyz(4.3476, 3.3092, 15.1585)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202D6E #6E6120
analogous
#20546E #202D6E #3A206E
triadic
#202D6E #6E202D #2D6E20
tetradic
#202D6E #6E2054 #6E6120 #206E3A
square
#202D6E #6E2054 #6E6120 #206E3A
split-complementary
#202D6E #6E3A20 #546E20
monochromatic
#070A18 #121A3F #202D6E #2E409D #4157C8

Accessibility & contrast

On white

12.64
#202D6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#202D6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202D6E
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202D6E#FFFFFF#000000##FFFFFF
##202D6E1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #202d6e;
/* rgb */ color: rgb(32, 45, 110);
/* oklch */ color: oklch(32.8% 0.114 270.4);
Tailwind
colors: {
  custom: {
    50: '#666598',
    500: '#202d6e',
    950: '#000000',
  },
}
SCSS
$custom: #202d6e;
$custom-light: #666598;
$custom-dark: #000000;
JSON
{
  "hex": "#202d6e",
  "rgb": {
    "r": 32,
    "g": 45,
    "b": 110
  },
  "hsl": {
    "h": 230,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32805,
    "c": 0.11352,
    "h": 270.4
  },
  "luminance": 0.0331
}

Semantic roles & 50–950 ramp

primary
#202D6E
secondary
#A29348
accent
#C54ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #202D6E

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

Preview Lab → · Contrast checker → · Palette generator →

#202D6E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva