#202F74#202F74

#202F74 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.8% C 0.120 H 269.6°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#202F74
RGBrgb(32, 47, 116)
HSLhsl(229, 57%, 29%)
HSVhsv(229, 72%, 45%)
CMYKcmyk(72.4%, 59.5%, 0%, 54.5%)
CIE-LABlab(22.30, 19.24, -41.58)
CIE-LCHlch(22.30, 45.81, 294.83°)
OKLaboklab(33.76% -0.0009 -0.1198)
OKLCHoklch(33.76% 0.12 269.6)
XYZxyz(4.7635, 3.6006, 16.9636)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F74 #746520
analogous
#205974 #202F74 #3B2074
triadic
#202F74 #74202F #2F7420
tetradic
#202F74 #742059 #746520 #20743B
square
#202F74 #742059 #746520 #20743B
split-complementary
#202F74 #743B20 #597420
monochromatic
#070A18 #131C44 #202F74 #2D42A4 #435BCB

Accessibility & contrast

On white

12.21
#202F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#202F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F74
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F74#FFFFFF#000000##FFFFFF
##202F741.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #202f74;
/* rgb */ color: rgb(32, 47, 116);
/* oklch */ color: oklch(33.8% 0.120 269.6);
Tailwind
colors: {
  custom: {
    50: '#67679d',
    500: '#202f74',
    950: '#000000',
  },
}
SCSS
$custom: #202f74;
$custom-light: #67679d;
$custom-dark: #000000;
JSON
{
  "hex": "#202f74",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 229.286,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33755,
    "c": 0.11976,
    "h": 269.6
  },
  "luminance": 0.03601
}

Semantic roles & 50–950 ramp

primary
#202F74
secondary
#A89748
accent
#C548E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #202F74

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

Preview Lab → · Contrast checker → · Palette generator →

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