#202F6C#202F6C

#202F6C is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.1% C 0.108 H 269.3°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#202F6C
RGBrgb(32, 47, 108)
HSLhsl(228, 54%, 27%)
HSVhsv(228, 70%, 42%)
CMYKcmyk(70.4%, 56.5%, 0%, 57.6%)
CIE-LABlab(21.66, 16.07, -37.47)
CIE-LCHlch(21.66, 40.78, 293.22°)
OKLaboklab(33.07% -0.0013 -0.1077)
OKLCHoklch(33.07% 0.108 269.3)
XYZxyz(4.3180, 3.4224, 14.6175)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F6C #6C5D20
analogous
#20556C #202F6C #37206C
triadic
#202F6C #6C202F #2F6C20
tetradic
#202F6C #6C2055 #6C5D20 #206C37
square
#202F6C #6C2055 #6C5D20 #206C37
split-complementary
#202F6C #6C3720 #556C20
monochromatic
#070A18 #121A3D #202F6C #2E449B #405BC6

Accessibility & contrast

On white

12.47
#202F6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#202F6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F6C
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F6C#FFFFFF#000000##FFFFFF
##202F6C1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05386E
Deuteranopia (green-blind)
#00316B
Tritanopia (blue-blind)
#003E48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #202f6c;
/* rgb */ color: rgb(32, 47, 108);
/* oklch */ color: oklch(33.1% 0.108 269.3);
Tailwind
colors: {
  custom: {
    50: '#666797',
    500: '#202f6c',
    950: '#000000',
  },
}
SCSS
$custom: #202f6c;
$custom-light: #666797;
$custom-dark: #000000;
JSON
{
  "hex": "#202f6c",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 108
  },
  "hsl": {
    "h": 228.158,
    "s": 54.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33069,
    "c": 0.1077,
    "h": 269.3
  },
  "luminance": 0.03423
}

Semantic roles & 50–950 ramp

primary
#202F6C
secondary
#A08F48
accent
#C14ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #202F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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