#202F5D#202F5D

#202F5D is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.084 H 267.8°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#202F5D
RGBrgb(32, 47, 93)
HSLhsl(225, 49%, 25%)
HSVhsv(225, 66%, 36%)
CMYKcmyk(65.6%, 49.5%, 0%, 63.5%)
CIE-LABlab(20.56, 10.14, -29.46)
CIE-LCHlch(20.56, 31.16, 289.00°)
OKLaboklab(31.88% -0.0032 -0.0841)
OKLCHoklch(31.88% 0.084 267.8)
XYZxyz(3.5873, 3.1301, 10.7689)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F5D #5D4E20
analogous
#204E5D #202F5D #30205D
triadic
#202F5D #5D202F #2F5D20
tetradic
#202F5D #5D204E #5D4E20 #205D30
square
#202F5D #5D204E #5D4E20 #205D30
split-complementary
#202F5D #5D3020 #4E5D20
monochromatic
#080C17 #10182F #202F5D #30468B #3F5DB8

Accessibility & contrast

On white

12.92
#202F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#202F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F5D
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F5D#FFFFFF#000000##FFFFFF
##202F5D1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19345F
Deuteranopia (green-blind)
#0F2F5C
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #202f5d;
/* rgb */ color: rgb(32, 47, 93);
/* oklch */ color: oklch(31.9% 0.084 267.8);
Tailwind
colors: {
  custom: {
    50: '#62678b',
    500: '#202f5d',
    950: '#000000',
  },
}
SCSS
$custom: #202f5d;
$custom-light: #62678b;
$custom-dark: #000000;
JSON
{
  "hex": "#202f5d",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 225.246,
    "s": 48.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31878,
    "c": 0.08418,
    "h": 267.8
  },
  "luminance": 0.0313
}

Semantic roles & 50–950 ramp

primary
#202F5D
secondary
#917F47
accent
#B74FD8
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #202F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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