#202F86#202F86

#202F86 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.146 H 269.6°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#202F86
RGBrgb(32, 47, 134)
HSLhsl(231, 61%, 33%)
HSVhsv(231, 76%, 53%)
CMYKcmyk(76.1%, 64.9%, 0%, 47.5%)
CIE-LABlab(23.87, 26.27, -50.41)
CIE-LCHlch(23.87, 56.84, 297.53°)
OKLaboklab(35.41% -0.0009 -0.1457)
OKLCHoklch(35.41% 0.146 269.6)
XYZxyz(5.9138, 4.0607, 23.0218)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F86 #867720
analogous
#206286 #202F86 #442086
triadic
#202F86 #86202F #2F8620
tetradic
#202F86 #862062 #867720 #208644
square
#202F86 #862062 #867720 #208644
split-complementary
#202F86 #864420 #628620
monochromatic
#080C23 #141E55 #202F86 #2C40B7 #4C60D4

Accessibility & contrast

On white

11.59
#202F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#202F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F86
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F86#FFFFFF#000000##FFFFFF
##202F861.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #202f86;
/* rgb */ color: rgb(32, 47, 134);
/* oklch */ color: oklch(35.4% 0.146 269.6);
Tailwind
colors: {
  custom: {
    50: '#6c67aa',
    500: '#202f86',
    950: '#000000',
  },
}
SCSS
$custom: #202f86;
$custom-light: #6c67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#202f86",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 231.176,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35406,
    "c": 0.14568,
    "h": 269.6
  },
  "luminance": 0.04061
}

Semantic roles & 50–950 ramp

primary
#202F86
secondary
#B7A74B
accent
#CD43E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #202F86

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

Preview Lab → · Contrast checker → · Palette generator →

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