#202F7B#202F7B

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

Color values

HEX#202F7B
RGBrgb(32, 47, 123)
HSLhsl(230, 59%, 30%)
HSVhsv(230, 74%, 48%)
CMYKcmyk(74%, 61.8%, 0%, 51.8%)
CIE-LABlab(22.89, 21.99, -45.07)
CIE-LCHlch(22.89, 50.15, 296.01°)
OKLaboklab(34.38% -0.0007 -0.13)
OKLCHoklch(34.38% 0.13 269.7)
XYZxyz(5.1861, 3.7696, 19.1893)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F7B #7B6C20
analogous
#205C7B #202F7B #3E207B
triadic
#202F7B #7B202F #2F7B20
tetradic
#202F7B #7B205C #7B6C20 #207B3E
square
#202F7B #7B205C #7B6C20 #207B3E
split-complementary
#202F7B #7B3E20 #5C7B20
monochromatic
#070A1A #131C4A #202F7B #2D42AC #465DCF

Accessibility & contrast

On white

11.97
#202F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#202F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F7B
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F7B#FFFFFF#000000##FFFFFF
##202F7B1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #202f7b;
/* rgb */ color: rgb(32, 47, 123);
/* oklch */ color: oklch(34.4% 0.130 269.7);
Tailwind
colors: {
  custom: {
    50: '#6967a2',
    500: '#202f7b',
    950: '#000000',
  },
}
SCSS
$custom: #202f7b;
$custom-light: #6967a2;
$custom-dark: #000000;
JSON
{
  "hex": "#202f7b",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 230.11,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3438,
    "c": 0.13003,
    "h": 269.7
  },
  "luminance": 0.0377
}

Semantic roles & 50–950 ramp

primary
#202F7B
secondary
#AE9D49
accent
#C846E2
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #202F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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