#202F7D#202F7D

#202F7D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.133 H 269.7°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#202F7D
RGBrgb(32, 47, 125)
HSLhsl(230, 59%, 31%)
HSVhsv(230, 74%, 49%)
CMYKcmyk(74.4%, 62.4%, 0%, 51%)
CIE-LABlab(23.07, 22.78, -46.06)
CIE-LCHlch(23.07, 51.38, 296.31°)
OKLaboklab(34.56% -0.0007 -0.1329)
OKLCHoklch(34.56% 0.133 269.7)
XYZxyz(5.3126, 3.8202, 19.8555)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F7D #7D6E20
analogous
#205D7D #202F7D #3F207D
triadic
#202F7D #7D202F #2F7D20
tetradic
#202F7D #7D205D #7D6E20 #207D3F
square
#202F7D #7D205D #7D6E20 #207D3F
split-complementary
#202F7D #7D3F20 #5D7D20
monochromatic
#070A1C #141D4C #202F7D #2C41AE #475DD0

Accessibility & contrast

On white

11.90
#202F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#202F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F7D
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F7D#FFFFFF#000000##FFFFFF
##202F7D1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #202f7d;
/* rgb */ color: rgb(32, 47, 125);
/* oklch */ color: oklch(34.6% 0.133 269.7);
Tailwind
colors: {
  custom: {
    50: '#6a67a3',
    500: '#202f7d',
    950: '#000000',
  },
}
SCSS
$custom: #202f7d;
$custom-light: #6a67a3;
$custom-dark: #000000;
JSON
{
  "hex": "#202f7d",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 125
  },
  "hsl": {
    "h": 230.323,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34563,
    "c": 0.13292,
    "h": 269.7
  },
  "luminance": 0.03821
}

Semantic roles & 50–950 ramp

primary
#202F7D
secondary
#B09F49
accent
#C945E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #202F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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