#202E7E#202E7E

#202E7E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.136 H 270.0°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#202E7E
RGBrgb(32, 46, 126)
HSLhsl(231, 59%, 31%)
HSVhsv(231, 75%, 49%)
CMYKcmyk(74.6%, 63.5%, 0%, 50.6%)
CIE-LABlab(22.89, 23.86, -46.99)
CIE-LCHlch(22.89, 52.70, 296.92°)
OKLaboklab(34.46% 0 -0.1357)
OKLCHoklch(34.46% 0.136 270)
XYZxyz(5.3373, 3.7669, 20.1804)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202E7E #7E7020
analogous
#205D7E #202E7E #41207E
triadic
#202E7E #7E202E #2E7E20
tetradic
#202E7E #7E205D #7E7020 #207E41
square
#202E7E #7E205D #7E7020 #207E41
split-complementary
#202E7E #7E4120 #5D7E20
monochromatic
#070A1C #141C4D #202E7E #2C40AF #485CD0

Accessibility & contrast

On white

11.98
#202E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202E7E
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202E7E#FFFFFF#000000##FFFFFF
##202E7E1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #202e7e;
/* rgb */ color: rgb(32, 46, 126);
/* oklch */ color: oklch(34.5% 0.136 270.0);
Tailwind
colors: {
  custom: {
    50: '#6a66a4',
    500: '#202e7e',
    950: '#000000',
  },
}
SCSS
$custom: #202e7e;
$custom-light: #6a66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#202e7e",
  "rgb": {
    "r": 32,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 231.064,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34455,
    "c": 0.13566,
    "h": 270
  },
  "luminance": 0.03767
}

Semantic roles & 50–950 ramp

primary
#202E7E
secondary
#B1A149
accent
#CB45E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #202E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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