#202F66#202F66

#202F66 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.098 H 268.9°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#202F66
RGBrgb(32, 47, 102)
HSLhsl(227, 52%, 26%)
HSVhsv(227, 69%, 40%)
CMYKcmyk(68.6%, 53.9%, 0%, 60%)
CIE-LABlab(21.20, 13.69, -34.32)
CIE-LCHlch(21.20, 36.95, 291.75°)
OKLaboklab(32.58% -0.0019 -0.0984)
OKLCHoklch(32.58% 0.098 268.9)
XYZxyz(4.0096, 3.2991, 12.9933)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F66 #665720
analogous
#205266 #202F66 #342066
triadic
#202F66 #66202F #2F6620
tetradic
#202F66 #662052 #665720 #206634
square
#202F66 #662052 #665720 #206634
split-complementary
#202F66 #663420 #526620
monochromatic
#070B17 #111A37 #202F66 #2F4495 #3E5AC2

Accessibility & contrast

On white

12.65
#202F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202F66
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F66#FFFFFF#000000##FFFFFF
##202F661.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3668
Deuteranopia (green-blind)
#003065
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #202f66;
/* rgb */ color: rgb(32, 47, 102);
/* oklch */ color: oklch(32.6% 0.098 268.9);
Tailwind
colors: {
  custom: {
    50: '#646792',
    500: '#202f66',
    950: '#000000',
  },
}
SCSS
$custom: #202f66;
$custom-light: #646792;
$custom-dark: #000000;
JSON
{
  "hex": "#202f66",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 102
  },
  "hsl": {
    "h": 227.143,
    "s": 52.239,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32577,
    "c": 0.09844,
    "h": 268.9
  },
  "luminance": 0.03299
}

Semantic roles & 50–950 ramp

primary
#202F66
secondary
#9A8848
accent
#BD4CDC
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #202F66

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

Preview Lab → · Contrast checker → · Palette generator →

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