#202F7F#202F7F

#202F7F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.7% C 0.136 H 269.7°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#202F7F
RGBrgb(32, 47, 127)
HSLhsl(231, 60%, 31%)
HSVhsv(231, 75%, 50%)
CMYKcmyk(74.8%, 63%, 0%, 50.2%)
CIE-LABlab(23.24, 23.56, -47.03)
CIE-LCHlch(23.24, 52.60, 296.60°)
OKLaboklab(34.75% -0.0007 -0.1358)
OKLCHoklch(34.75% 0.136 269.7)
XYZxyz(5.4416, 3.8719, 20.5351)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F7F #7F7020
analogous
#205E7F #202F7F #40207F
triadic
#202F7F #7F202F #2F7F20
tetradic
#202F7F #7F205E #7F7020 #207F40
square
#202F7F #7F205E #7F7020 #207F40
split-complementary
#202F7F #7F4020 #5E7F20
monochromatic
#070B1D #141D4E #202F7F #2C41B0 #485ED1

Accessibility & contrast

On white

11.83
#202F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#202F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F7F
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F7F#FFFFFF#000000##FFFFFF
##202F7F1.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202f7f;
/* rgb */ color: rgb(32, 47, 127);
/* oklch */ color: oklch(34.7% 0.136 269.7);
Tailwind
colors: {
  custom: {
    50: '#6a67a5',
    500: '#202f7f',
    950: '#000000',
  },
}
SCSS
$custom: #202f7f;
$custom-light: #6a67a5;
$custom-dark: #000000;
JSON
{
  "hex": "#202f7f",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 230.526,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34747,
    "c": 0.13579,
    "h": 269.7
  },
  "luminance": 0.03872
}

Semantic roles & 50–950 ramp

primary
#202F7F
secondary
#B2A149
accent
#CA45E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #202F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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