#202F62#202F62

#202F62 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.092 H 268.5°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#202F62
RGBrgb(32, 47, 98)
HSLhsl(226, 51%, 25%)
HSVhsv(226, 67%, 38%)
CMYKcmyk(67.3%, 52%, 0%, 61.6%)
CIE-LABlab(20.91, 12.11, -32.18)
CIE-LCHlch(20.91, 34.38, 290.63°)
OKLaboklab(32.26% -0.0024 -0.0921)
OKLCHoklch(32.26% 0.092 268.5)
XYZxyz(3.8160, 3.2216, 11.9736)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F62 #625320
analogous
#205062 #202F62 #322062
triadic
#202F62 #62202F #2F6220
tetradic
#202F62 #622050 #625320 #206232
square
#202F62 #622050 #625320 #206232
split-complementary
#202F62 #623220 #506220
monochromatic
#080B17 #111934 #202F62 #2F4590 #3E5BBE

Accessibility & contrast

On white

12.77
#202F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#202F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F62
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F62#FFFFFF#000000##FFFFFF
##202F621.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143564
Deuteranopia (green-blind)
#062F61
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #202f62;
/* rgb */ color: rgb(32, 47, 98);
/* oklch */ color: oklch(32.3% 0.092 268.5);
Tailwind
colors: {
  custom: {
    50: '#63678f',
    500: '#202f62',
    950: '#000000',
  },
}
SCSS
$custom: #202f62;
$custom-light: #63678f;
$custom-dark: #000000;
JSON
{
  "hex": "#202f62",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 98
  },
  "hsl": {
    "h": 226.364,
    "s": 50.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32261,
    "c": 0.09215,
    "h": 268.5
  },
  "luminance": 0.03222
}

Semantic roles & 50–950 ramp

primary
#202F62
secondary
#968447
accent
#BA4EDA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #202F62

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

Preview Lab → · Contrast checker → · Palette generator →

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