#202D74#202D74

#202D74 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.122 H 270.4°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#202D74
RGBrgb(32, 45, 116)
HSLhsl(231, 57%, 29%)
HSVhsv(231, 72%, 45%)
CMYKcmyk(72.4%, 61.2%, 0%, 54.5%)
CIE-LABlab(21.74, 20.65, -42.49)
CIE-LCHlch(21.74, 47.24, 295.92°)
OKLaboklab(33.34% 0.0009 -0.1225)
OKLCHoklch(33.34% 0.122 270.4)
XYZxyz(4.6854, 3.4443, 16.9375)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202D74 #746720
analogous
#205774 #202D74 #3D2074
triadic
#202D74 #74202D #2D7420
tetradic
#202D74 #742057 #746720 #20743D
square
#202D74 #742057 #746720 #20743D
split-complementary
#202D74 #743D20 #577420
monochromatic
#070918 #131A44 #202D74 #2D40A4 #4358CB

Accessibility & contrast

On white

12.43
#202D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#202D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202D74
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202D74#FFFFFF#000000##FFFFFF
##202D741.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#003073
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #202d74;
/* rgb */ color: rgb(32, 45, 116);
/* oklch */ color: oklch(33.3% 0.122 270.4);
Tailwind
colors: {
  custom: {
    50: '#68659d',
    500: '#202d74',
    950: '#000000',
  },
}
SCSS
$custom: #202d74;
$custom-light: #68659d;
$custom-dark: #000000;
JSON
{
  "hex": "#202d74",
  "rgb": {
    "r": 32,
    "g": 45,
    "b": 116
  },
  "hsl": {
    "h": 230.714,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33335,
    "c": 0.12247,
    "h": 270.4
  },
  "luminance": 0.03445
}

Semantic roles & 50–950 ramp

primary
#202D74
secondary
#A89948
accent
#C848E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #202D74

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

Preview Lab → · Contrast checker → · Palette generator →

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