#202F75#202F75

#202F75 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.8% C 0.121 H 269.6°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#202F75
RGBrgb(32, 47, 117)
HSLhsl(229, 57%, 29%)
HSVhsv(229, 73%, 46%)
CMYKcmyk(72.6%, 59.8%, 0%, 54.1%)
CIE-LABlab(22.39, 19.63, -42.08)
CIE-LCHlch(22.39, 46.44, 295.01°)
OKLaboklab(33.84% -0.0008 -0.1212)
OKLCHoklch(33.84% 0.121 269.6)
XYZxyz(4.8220, 3.6240, 17.2716)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F75 #756620
analogous
#205A75 #202F75 #3C2075
triadic
#202F75 #75202F #2F7520
tetradic
#202F75 #75205A #756620 #20753C
square
#202F75 #75205A #756620 #20753C
split-complementary
#202F75 #753C20 #5A7520
monochromatic
#070A18 #131C45 #202F75 #2D42A5 #445CCC

Accessibility & contrast

On white

12.18
#202F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#202F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F75
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F75#FFFFFF#000000##FFFFFF
##202F751.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A77
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #202f75;
/* rgb */ color: rgb(32, 47, 117);
/* oklch */ color: oklch(33.8% 0.121 269.6);
Tailwind
colors: {
  custom: {
    50: '#68679d',
    500: '#202f75',
    950: '#000000',
  },
}
SCSS
$custom: #202f75;
$custom-light: #68679d;
$custom-dark: #000000;
JSON
{
  "hex": "#202f75",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 117
  },
  "hsl": {
    "h": 229.412,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33843,
    "c": 0.12124,
    "h": 269.6
  },
  "luminance": 0.03624
}

Semantic roles & 50–950 ramp

primary
#202F75
secondary
#A89848
accent
#C547E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #202F75

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

Preview Lab → · Contrast checker → · Palette generator →

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