#202F6F#202F6F

#202F6F is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.3% C 0.112 H 269.4°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#202F6F
RGBrgb(32, 47, 111)
HSLhsl(229, 55%, 28%)
HSVhsv(229, 71%, 44%)
CMYKcmyk(71.2%, 57.7%, 0%, 56.5%)
CIE-LABlab(21.90, 17.26, -39.03)
CIE-LCHlch(21.90, 42.67, 293.86°)
OKLaboklab(33.32% -0.0011 -0.1123)
OKLCHoklch(33.32% 0.112 269.4)
XYZxyz(4.4804, 3.4874, 15.4729)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F6F #6F6020
analogous
#20566F #202F6F #39206F
triadic
#202F6F #6F202F #2F6F20
tetradic
#202F6F #6F2056 #6F6020 #206F39
square
#202F6F #6F2056 #6F6020 #206F39
split-complementary
#202F6F #6F3920 #566F20
monochromatic
#070A18 #121B3F #202F6F #2E439F #415BC8

Accessibility & contrast

On white

12.37
#202F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#202F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F6F
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F6F#FFFFFF#000000##FFFFFF
##202F6F1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#00316E
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #202f6f;
/* rgb */ color: rgb(32, 47, 111);
/* oklch */ color: oklch(33.3% 0.112 269.4);
Tailwind
colors: {
  custom: {
    50: '#666799',
    500: '#202f6f',
    950: '#000000',
  },
}
SCSS
$custom: #202f6f;
$custom-light: #666799;
$custom-dark: #000000;
JSON
{
  "hex": "#202f6f",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 228.608,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33323,
    "c": 0.11227,
    "h": 269.4
  },
  "luminance": 0.03488
}

Semantic roles & 50–950 ramp

primary
#202F6F
secondary
#A39248
accent
#C249DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #202F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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