#202D6F#202D6F

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

Color values

HEX#202D6F
RGBrgb(32, 45, 111)
HSLhsl(230, 55%, 28%)
HSVhsv(230, 71%, 44%)
CMYKcmyk(71.2%, 59.5%, 0%, 56.5%)
CIE-LABlab(21.32, 18.68, -39.96)
CIE-LCHlch(21.32, 44.11, 295.06°)
OKLaboklab(32.89% 0.0008 -0.115)
OKLCHoklch(32.89% 0.115 270.4)
XYZxyz(4.4023, 3.3311, 15.4468)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202D6F #6F6220
analogous
#20546F #202D6F #3B206F
triadic
#202D6F #6F202D #2D6F20
tetradic
#202D6F #6F2054 #6F6220 #206F3B
square
#202D6F #6F2054 #6F6220 #206F3B
split-complementary
#202D6F #6F3B20 #546F20
monochromatic
#070A18 #121A3F #202D6F #2E409F #4157C8

Accessibility & contrast

On white

12.60
#202D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#202D6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202D6F
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202D6F#FFFFFF#000000##FFFFFF
##202D6F1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#00306E
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #202d6f;
/* rgb */ color: rgb(32, 45, 111);
/* oklch */ color: oklch(32.9% 0.115 270.4);
Tailwind
colors: {
  custom: {
    50: '#666599',
    500: '#202d6f',
    950: '#000000',
  },
}
SCSS
$custom: #202d6f;
$custom-light: #666599;
$custom-dark: #000000;
JSON
{
  "hex": "#202d6f",
  "rgb": {
    "r": 32,
    "g": 45,
    "b": 111
  },
  "hsl": {
    "h": 230.127,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32892,
    "c": 0.11503,
    "h": 270.4
  },
  "luminance": 0.03332
}

Semantic roles & 50–950 ramp

primary
#202D6F
secondary
#A39448
accent
#C649DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #202D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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