#202F72#202F72

#202F72 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.117 H 269.5°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#202F72
RGBrgb(32, 47, 114)
HSLhsl(229, 56%, 29%)
HSVhsv(229, 72%, 45%)
CMYKcmyk(71.9%, 58.8%, 0%, 55.3%)
CIE-LABlab(22.14, 18.45, -40.56)
CIE-LCHlch(22.14, 44.56, 294.46°)
OKLaboklab(33.58% -0.0009 -0.1168)
OKLCHoklch(33.58% 0.117 269.5)
XYZxyz(4.6484, 3.5546, 16.3575)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F72 #726320
analogous
#205872 #202F72 #3A2072
triadic
#202F72 #72202F #2F7220
tetradic
#202F72 #722058 #726320 #20723A
square
#202F72 #722058 #726320 #20723A
split-complementary
#202F72 #723A20 #587220
monochromatic
#070A18 #131B42 #202F72 #2D43A2 #425BCA

Accessibility & contrast

On white

12.27
#202F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#202F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F72
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F72#FFFFFF#000000##FFFFFF
##202F721.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#003171
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #202f72;
/* rgb */ color: rgb(32, 47, 114);
/* oklch */ color: oklch(33.6% 0.117 269.5);
Tailwind
colors: {
  custom: {
    50: '#67679b',
    500: '#202f72',
    950: '#000000',
  },
}
SCSS
$custom: #202f72;
$custom-light: #67679b;
$custom-dark: #000000;
JSON
{
  "hex": "#202f72",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 229.024,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33581,
    "c": 0.11677,
    "h": 269.5
  },
  "luminance": 0.03555
}

Semantic roles & 50–950 ramp

primary
#202F72
secondary
#A69548
accent
#C448DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #202F72

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

Preview Lab → · Contrast checker → · Palette generator →

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