#202E7F#202E7F

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

Color values

HEX#202E7F
RGBrgb(32, 46, 127)
HSLhsl(231, 60%, 31%)
HSVhsv(231, 75%, 50%)
CMYKcmyk(74.8%, 63.8%, 0%, 50.2%)
CIE-LABlab(22.97, 24.25, -47.47)
CIE-LCHlch(22.97, 53.31, 297.06°)
OKLaboklab(34.55% 0 -0.1371)
OKLCHoklch(34.55% 0.137 270)
XYZxyz(5.4021, 3.7928, 20.5219)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202E7F #7F7120
analogous
#205D7F #202E7F #41207F
triadic
#202E7F #7F202E #2E7F20
tetradic
#202E7F #7F205D #7F7120 #207F41
square
#202E7F #7F205D #7F7120 #207F41
split-complementary
#202E7F #7F4120 #5D7F20
monochromatic
#070B1D #141C4E #202E7F #2C40B0 #485DD1

Accessibility & contrast

On white

11.94
#202E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#202E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202E7F
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202E7F#FFFFFF#000000##FFFFFF
##202E7F1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #202e7f;
/* rgb */ color: rgb(32, 46, 127);
/* oklch */ color: oklch(34.5% 0.137 270.0);
Tailwind
colors: {
  custom: {
    50: '#6a66a5',
    500: '#202e7f',
    950: '#000000',
  },
}
SCSS
$custom: #202e7f;
$custom-light: #6a66a5;
$custom-dark: #000000;
JSON
{
  "hex": "#202e7f",
  "rgb": {
    "r": 32,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 231.158,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34548,
    "c": 0.13709,
    "h": 270
  },
  "luminance": 0.03793
}

Semantic roles & 50–950 ramp

primary
#202E7F
secondary
#B2A249
accent
#CC45E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #202E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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