#202F79#202F79

#202F79 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.127 H 269.7°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#202F79
RGBrgb(32, 47, 121)
HSLhsl(230, 58%, 30%)
HSVhsv(230, 74%, 47%)
CMYKcmyk(73.6%, 61.2%, 0%, 52.5%)
CIE-LABlab(22.72, 21.21, -44.08)
CIE-LCHlch(22.72, 48.92, 295.69°)
OKLaboklab(34.2% -0.0007 -0.1271)
OKLCHoklch(34.2% 0.127 269.7)
XYZxyz(5.0622, 3.7201, 18.5367)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F79 #796A20
analogous
#205B79 #202F79 #3E2079
triadic
#202F79 #79202F #2F7920
tetradic
#202F79 #79205B #796A20 #20793E
square
#202F79 #79205B #796A20 #20793E
split-complementary
#202F79 #793E20 #5B7920
monochromatic
#060918 #131C49 #202F79 #2D42A9 #455CCE

Accessibility & contrast

On white

12.04
#202F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#202F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F79
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F79#FFFFFF#000000##FFFFFF
##202F791.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #202f79;
/* rgb */ color: rgb(32, 47, 121);
/* oklch */ color: oklch(34.2% 0.127 269.7);
Tailwind
colors: {
  custom: {
    50: '#6967a0',
    500: '#202f79',
    950: '#000000',
  },
}
SCSS
$custom: #202f79;
$custom-light: #6967a0;
$custom-dark: #000000;
JSON
{
  "hex": "#202f79",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 229.888,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.34199,
    "c": 0.12712,
    "h": 269.7
  },
  "luminance": 0.03721
}

Semantic roles & 50–950 ramp

primary
#202F79
secondary
#AC9B49
accent
#C746E1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #202F79

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

Preview Lab → · Contrast checker → · Palette generator →

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