#202F97#202F97

#202F97 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.169 H 269.3°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#202F97
RGBrgb(32, 47, 151)
HSLhsl(232, 65%, 36%)
HSVhsv(232, 79%, 59%)
CMYKcmyk(78.8%, 68.9%, 0%, 40.8%)
CIE-LABlab(25.48, 32.71, -58.29)
CIE-LCHlch(25.48, 66.84, 299.30°)
OKLaboklab(37.08% -0.002 -0.1687)
OKLCHoklch(37.08% 0.169 269.3)
XYZxyz(7.1962, 4.5737, 29.7757)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F97 #978820
analogous
#206A97 #202F97 #4C2097
triadic
#202F97 #97202F #2F9720
tetradic
#202F97 #97206A #978820 #20974C
square
#202F97 #97206A #978820 #20974C
split-complementary
#202F97 #974C20 #6A9720
monochromatic
#0B1032 #151F64 #202F97 #2B3FC9 #5667DB

Accessibility & contrast

On white

10.97
#202F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#202F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F97
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F97#FFFFFF#000000##FFFFFF
##202F971.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003795
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #202f97;
/* rgb */ color: rgb(32, 47, 151);
/* oklch */ color: oklch(37.1% 0.169 269.3);
Tailwind
colors: {
  custom: {
    50: '#7067b7',
    500: '#202f97',
    950: '#000000',
  },
}
SCSS
$custom: #202f97;
$custom-light: #7067b7;
$custom-dark: #000000;
JSON
{
  "hex": "#202f97",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 232.437,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37079,
    "c": 0.16876,
    "h": 269.3
  },
  "luminance": 0.04574
}

Semantic roles & 50–950 ramp

primary
#202F97
secondary
#BFB154
accent
#D340E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #202F97

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

Preview Lab → · Contrast checker → · Palette generator →

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