#202F6E#202F6E

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

Color values

HEX#202F6E
RGBrgb(32, 47, 110)
HSLhsl(228, 55%, 28%)
HSVhsv(228, 71%, 43%)
CMYKcmyk(70.9%, 57.3%, 0%, 56.9%)
CIE-LABlab(21.82, 16.87, -38.51)
CIE-LCHlch(21.82, 42.04, 293.65°)
OKLaboklab(33.24% -0.0012 -0.1107)
OKLCHoklch(33.24% 0.111 269.4)
XYZxyz(4.4257, 3.4655, 15.1845)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F6E #6E5F20
analogous
#20566E #202F6E #38206E
triadic
#202F6E #6E202F #2F6E20
tetradic
#202F6E #6E2056 #6E5F20 #206E38
square
#202F6E #6E2056 #6E5F20 #206E38
split-complementary
#202F6E #6E3820 #566E20
monochromatic
#070A18 #121B3F #202F6E #2E439D #415BC8

Accessibility & contrast

On white

12.40
#202F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#202F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F6E
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F6E#FFFFFF#000000##FFFFFF
##202F6E1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013870
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #202f6e;
/* rgb */ color: rgb(32, 47, 110);
/* oklch */ color: oklch(33.2% 0.111 269.4);
Tailwind
colors: {
  custom: {
    50: '#666798',
    500: '#202f6e',
    950: '#000000',
  },
}
SCSS
$custom: #202f6e;
$custom-light: #666798;
$custom-dark: #000000;
JSON
{
  "hex": "#202f6e",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 228.462,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33238,
    "c": 0.11075,
    "h": 269.4
  },
  "luminance": 0.03466
}

Semantic roles & 50–950 ramp

primary
#202F6E
secondary
#A29148
accent
#C24ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #202F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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