#202F85#202F85

#202F85 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.144 H 269.6°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#202F85
RGBrgb(32, 47, 133)
HSLhsl(231, 61%, 32%)
HSVhsv(231, 76%, 52%)
CMYKcmyk(75.9%, 64.7%, 0%, 47.8%)
CIE-LABlab(23.78, 25.88, -49.93)
CIE-LCHlch(23.78, 56.24, 297.40°)
OKLaboklab(35.31% -0.0009 -0.1443)
OKLCHoklch(35.31% 0.144 269.6)
XYZxyz(5.8444, 4.0329, 22.6562)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F85 #857620
analogous
#206285 #202F85 #432085
triadic
#202F85 #85202F #2F8520
tetradic
#202F85 #852062 #857620 #208543
square
#202F85 #852062 #857620 #208543
split-complementary
#202F85 #854320 #628520
monochromatic
#080C22 #141E54 #202F85 #2C40B6 #4C60D4

Accessibility & contrast

On white

11.62
#202F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202F85
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F85#FFFFFF#000000##FFFFFF
##202F851.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #202f85;
/* rgb */ color: rgb(32, 47, 133);
/* oklch */ color: oklch(35.3% 0.144 269.6);
Tailwind
colors: {
  custom: {
    50: '#6c67a9',
    500: '#202f85',
    950: '#000000',
  },
}
SCSS
$custom: #202f85;
$custom-light: #6c67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#202f85",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 231.089,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35311,
    "c": 0.14428,
    "h": 269.6
  },
  "luminance": 0.04034
}

Semantic roles & 50–950 ramp

primary
#202F85
secondary
#B7A74A
accent
#CC43E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #202F85

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

Preview Lab → · Contrast checker → · Palette generator →

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