#202F61#202F61

#202F61 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.091 H 268.4°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#202F61
RGBrgb(32, 47, 97)
HSLhsl(226, 50%, 25%)
HSVhsv(226, 67%, 38%)
CMYKcmyk(67%, 51.5%, 0%, 62%)
CIE-LABlab(20.84, 11.72, -31.64)
CIE-LCHlch(20.84, 33.74, 290.32°)
OKLaboklab(32.18% -0.0025 -0.0905)
OKLCHoklch(32.18% 0.091 268.4)
XYZxyz(3.7691, 3.2028, 11.7265)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F61 #615220
analogous
#204F61 #202F61 #312061
triadic
#202F61 #61202F #2F6120
tetradic
#202F61 #61204F #615220 #206131
square
#202F61 #61204F #615220 #206131
split-complementary
#202F61 #613120 #4F6120
monochromatic
#080B17 #111933 #202F61 #2F458F #3E5CBD

Accessibility & contrast

On white

12.80
#202F61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#202F61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F61
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F61#FFFFFF#000000##FFFFFF
##202F611.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153563
Deuteranopia (green-blind)
#082F60
Tritanopia (blue-blind)
#003A43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #202f61;
/* rgb */ color: rgb(32, 47, 97);
/* oklch */ color: oklch(32.2% 0.091 268.4);
Tailwind
colors: {
  custom: {
    50: '#63678e',
    500: '#202f61',
    950: '#000000',
  },
}
SCSS
$custom: #202f61;
$custom-light: #63678e;
$custom-dark: #000000;
JSON
{
  "hex": "#202f61",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 97
  },
  "hsl": {
    "h": 226.154,
    "s": 50.388,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32183,
    "c": 0.09057,
    "h": 268.4
  },
  "luminance": 0.03203
}

Semantic roles & 50–950 ramp

primary
#202F61
secondary
#958347
accent
#BA4EDA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #202F61

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

Preview Lab → · Contrast checker → · Palette generator →

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