#202E79#202E79

#202E79 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.128 H 270.0°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#202E79
RGBrgb(32, 46, 121)
HSLhsl(231, 58%, 30%)
HSVhsv(231, 74%, 47%)
CMYKcmyk(73.6%, 62%, 0%, 52.5%)
CIE-LABlab(22.45, 21.91, -44.53)
CIE-LCHlch(22.45, 49.63, 296.20°)
OKLaboklab(33.99% 0.0001 -0.1285)
OKLCHoklch(33.99% 0.128 270)
XYZxyz(5.0227, 3.6410, 18.5235)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202E79 #796B20
analogous
#205A79 #202E79 #3F2079
triadic
#202E79 #79202E #2E7920
tetradic
#202E79 #79205A #796B20 #20793F
square
#202E79 #79205A #796B20 #20793F
split-complementary
#202E79 #793F20 #5A7920
monochromatic
#060918 #131C49 #202E79 #2D40A9 #455BCE

Accessibility & contrast

On white

12.15
#202E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#202E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202E79
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202E79#FFFFFF#000000##FFFFFF
##202E791.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202e79;
/* rgb */ color: rgb(32, 46, 121);
/* oklch */ color: oklch(34.0% 0.128 270.0);
Tailwind
colors: {
  custom: {
    50: '#6966a0',
    500: '#202e79',
    950: '#000000',
  },
}
SCSS
$custom: #202e79;
$custom-light: #6966a0;
$custom-dark: #000000;
JSON
{
  "hex": "#202e79",
  "rgb": {
    "r": 32,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 230.562,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.33994,
    "c": 0.12846,
    "h": 270
  },
  "luminance": 0.03642
}

Semantic roles & 50–950 ramp

primary
#202E79
secondary
#AC9D49
accent
#C946E1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #202E79

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

Preview Lab → · Contrast checker → · Palette generator →

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