#202F7C#202F7C

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

Color values

HEX#202F7C
RGBrgb(32, 47, 124)
HSLhsl(230, 59%, 31%)
HSVhsv(230, 74%, 49%)
CMYKcmyk(74.2%, 62.1%, 0%, 51.4%)
CIE-LABlab(22.98, 22.38, -45.56)
CIE-LCHlch(22.98, 50.77, 296.16°)
OKLaboklab(34.47% -0.0007 -0.1315)
OKLCHoklch(34.47% 0.131 269.7)
XYZxyz(5.2490, 3.7948, 19.5207)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F7C #7C6D20
analogous
#205D7C #202F7C #3F207C
triadic
#202F7C #7C202F #2F7C20
tetradic
#202F7C #7C205D #7C6D20 #207C3F
square
#202F7C #7C205D #7C6D20 #207C3F
split-complementary
#202F7C #7C3F20 #5D7C20
monochromatic
#070A1B #131D4B #202F7C #2D41AD #475DCF

Accessibility & contrast

On white

11.94
#202F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202F7C
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F7C#FFFFFF#000000##FFFFFF
##202F7C1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202f7c;
/* rgb */ color: rgb(32, 47, 124);
/* oklch */ color: oklch(34.5% 0.131 269.7);
Tailwind
colors: {
  custom: {
    50: '#6967a3',
    500: '#202f7c',
    950: '#000000',
  },
}
SCSS
$custom: #202f7c;
$custom-light: #6967a3;
$custom-dark: #000000;
JSON
{
  "hex": "#202f7c",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 124
  },
  "hsl": {
    "h": 230.217,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34471,
    "c": 0.13148,
    "h": 269.7
  },
  "luminance": 0.03795
}

Semantic roles & 50–950 ramp

primary
#202F7C
secondary
#AF9E49
accent
#C946E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #202F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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