#202F57#202F57

#202F57 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.074 H 266.7°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#202F57
RGBrgb(32, 47, 87)
HSLhsl(224, 46%, 23%)
HSVhsv(224, 63%, 34%)
CMYKcmyk(63.2%, 46%, 0%, 65.9%)
CIE-LABlab(20.16, 7.80, -26.13)
CIE-LCHlch(20.16, 27.27, 286.61°)
OKLaboklab(31.44% -0.0043 -0.0743)
OKLCHoklch(31.44% 0.074 266.7)
XYZxyz(3.3319, 3.0280, 9.4238)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F57 #574820
analogous
#204A57 #202F57 #2C2057
triadic
#202F57 #57202F #2F5720
tetradic
#202F57 #57204A #574820 #20572C
square
#202F57 #57204A #574820 #20572C
split-complementary
#202F57 #572C20 #4A5720
monochromatic
#080C16 #10172A #202F57 #304784 #415FB0

Accessibility & contrast

On white

13.08
#202F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#202F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F57
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F57#FFFFFF#000000##FFFFFF
##202F571.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3359
Deuteranopia (green-blind)
#162E56
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #202f57;
/* rgb */ color: rgb(32, 47, 87);
/* oklch */ color: oklch(31.4% 0.074 266.7);
Tailwind
colors: {
  custom: {
    50: '#616786',
    500: '#202f57',
    950: '#000000',
  },
}
SCSS
$custom: #202f57;
$custom-light: #616786;
$custom-dark: #000000;
JSON
{
  "hex": "#202f57",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 87
  },
  "hsl": {
    "h": 223.636,
    "s": 46.218,
    "l": 23.333
  },
  "oklch": {
    "l": 0.3144,
    "c": 0.07447,
    "h": 266.7
  },
  "luminance": 0.03028
}

Semantic roles & 50–950 ramp

primary
#202F57
secondary
#8B7947
accent
#B252D6
background
#F5F6F8
surface
#EAEBEF
border
#C6C6CA
text
#05060B
muted
#797A7C

Preview Lab

Preview with #202F57

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

Preview Lab → · Contrast checker → · Palette generator →

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