#202F8C#202F8C

#202F8C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.154 H 269.5°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#202F8C
RGBrgb(32, 47, 140)
HSLhsl(232, 63%, 34%)
HSVhsv(232, 77%, 55%)
CMYKcmyk(77.1%, 66.4%, 0%, 45.1%)
CIE-LABlab(24.43, 28.57, -53.24)
CIE-LCHlch(24.43, 60.42, 298.22°)
OKLaboklab(35.99% -0.0012 -0.154)
OKLCHoklch(35.99% 0.154 269.5)
XYZxyz(6.3442, 4.2329, 25.2885)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F8C #8C7D20
analogous
#20658C #202F8C #47208C
triadic
#202F8C #8C202F #2F8C20
tetradic
#202F8C #8C2065 #8C7D20 #208C47
square
#202F8C #8C2065 #8C7D20 #208C47
split-complementary
#202F8C #8C4720 #658C20
monochromatic
#090E28 #151E5A #202F8C #2B40BE #5062D7

Accessibility & contrast

On white

11.37
#202F8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#202F8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F8C
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F8C#FFFFFF#000000##FFFFFF
##202F8C1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#00358A
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #202f8c;
/* rgb */ color: rgb(32, 47, 140);
/* oklch */ color: oklch(36.0% 0.154 269.5);
Tailwind
colors: {
  custom: {
    50: '#6e67af',
    500: '#202f8c',
    950: '#000000',
  },
}
SCSS
$custom: #202f8c;
$custom-light: #6e67af;
$custom-dark: #000000;
JSON
{
  "hex": "#202f8c",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 140
  },
  "hsl": {
    "h": 231.667,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35985,
    "c": 0.15397,
    "h": 269.5
  },
  "luminance": 0.04234
}

Semantic roles & 50–950 ramp

primary
#202F8C
secondary
#BAAB4E
accent
#CF42E6
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #202F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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