#202F56#202F56

#202F56 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.073 H 266.4°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#202F56
RGBrgb(32, 47, 86)
HSLhsl(223, 46%, 23%)
HSVhsv(223, 63%, 34%)
CMYKcmyk(62.8%, 45.3%, 0%, 66.3%)
CIE-LABlab(20.09, 7.41, -25.57)
CIE-LCHlch(20.09, 26.62, 286.16°)
OKLaboklab(31.37% -0.0045 -0.0727)
OKLCHoklch(31.37% 0.073 266.4)
XYZxyz(3.2913, 3.0117, 9.2102)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F56 #564720
analogous
#204A56 #202F56 #2C2056
triadic
#202F56 #56202F #2F5620
tetradic
#202F56 #56204A #564720 #20562C
square
#202F56 #56204A #564720 #20562C
split-complementary
#202F56 #562C20 #4A5620
monochromatic
#080C16 #0F1729 #202F56 #314783 #4160AF

Accessibility & contrast

On white

13.11
#202F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#202F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F56
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F56#FFFFFF#000000##FFFFFF
##202F561.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3358
Deuteranopia (green-blind)
#172E55
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #202f56;
/* rgb */ color: rgb(32, 47, 86);
/* oklch */ color: oklch(31.4% 0.073 266.4);
Tailwind
colors: {
  custom: {
    50: '#616786',
    500: '#202f56',
    950: '#000000',
  },
}
SCSS
$custom: #202f56;
$custom-light: #616786;
$custom-dark: #000000;
JSON
{
  "hex": "#202f56",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 86
  },
  "hsl": {
    "h": 223.333,
    "s": 45.763,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31369,
    "c": 0.07284,
    "h": 266.4
  },
  "luminance": 0.03012
}

Semantic roles & 50–950 ramp

primary
#202F56
secondary
#8B7847
accent
#B152D5
background
#F5F6F8
surface
#EAEBEF
border
#C6C6CA
text
#05060B
muted
#797A7C

Preview Lab

Preview with #202F56

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

Preview Lab → · Contrast checker → · Palette generator →

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