#202E7D#202E7D

#202E7D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.134 H 270.0°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#202E7D
RGBrgb(32, 46, 125)
HSLhsl(231, 59%, 31%)
HSVhsv(231, 74%, 49%)
CMYKcmyk(74.4%, 63.2%, 0%, 51%)
CIE-LABlab(22.80, 23.47, -46.50)
CIE-LCHlch(22.80, 52.09, 296.78°)
OKLaboklab(34.36% 0.0001 -0.1342)
OKLCHoklch(34.36% 0.134 270)
XYZxyz(5.2731, 3.7412, 19.8423)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202E7D #7D6F20
analogous
#205C7D #202E7D #40207D
triadic
#202E7D #7D202E #2E7D20
tetradic
#202E7D #7D205C #7D6F20 #207D40
square
#202E7D #7D205C #7D6F20 #207D40
split-complementary
#202E7D #7D4020 #5C7D20
monochromatic
#070A1C #141C4C #202E7D #2C40AE #475CD0

Accessibility & contrast

On white

12.01
#202E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#202E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202E7D
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202E7D#FFFFFF#000000##FFFFFF
##202E7D1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #202e7d;
/* rgb */ color: rgb(32, 46, 125);
/* oklch */ color: oklch(34.4% 0.134 270.0);
Tailwind
colors: {
  custom: {
    50: '#6a66a3',
    500: '#202e7d',
    950: '#000000',
  },
}
SCSS
$custom: #202e7d;
$custom-light: #6a66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#202e7d",
  "rgb": {
    "r": 32,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 230.968,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34362,
    "c": 0.13423,
    "h": 270
  },
  "luminance": 0.03742
}

Semantic roles & 50–950 ramp

primary
#202E7D
secondary
#B0A049
accent
#CB45E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #202E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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