#202C7F#202C7F

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

Color values

HEX#202C7F
RGBrgb(32, 44, 127)
HSLhsl(232, 60%, 31%)
HSVhsv(232, 75%, 50%)
CMYKcmyk(74.8%, 65.4%, 0%, 50.2%)
CIE-LABlab(22.44, 25.62, -48.34)
CIE-LCHlch(22.44, 54.71, 297.93°)
OKLaboklab(34.16% 0.0015 -0.1396)
OKLCHoklch(34.16% 0.14 270.6)
XYZxyz(5.3258, 3.6402, 20.4965)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202C7F #7F7320
analogous
#205B7F #202C7F #43207F
triadic
#202C7F #7F202C #2C7F20
tetradic
#202C7F #7F205B #7F7320 #207F43
square
#202C7F #7F205B #7F7320 #207F43
split-complementary
#202C7F #7F4320 #5B7F20
monochromatic
#070A1D #141B4E #202C7F #2C3DB0 #485AD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##202C7F#FFFFFF#000000##FFFFFF
##202C7F1.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)
#003A82
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #202c7f;
/* rgb */ color: rgb(32, 44, 127);
/* oklch */ color: oklch(34.2% 0.140 270.6);
Tailwind
colors: {
  custom: {
    50: '#6a65a5',
    500: '#202c7f',
    950: '#000000',
  },
}
SCSS
$custom: #202c7f;
$custom-light: #6a65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#202c7f",
  "rgb": {
    "r": 32,
    "g": 44,
    "b": 127
  },
  "hsl": {
    "h": 232.421,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34158,
    "c": 0.13966,
    "h": 270.6
  },
  "luminance": 0.03641
}

Semantic roles & 50–950 ramp

primary
#202C7F
secondary
#B2A549
accent
#CF45E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #202C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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