#202F6A#202F6A

#202F6A is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.9% C 0.105 H 269.2°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#202F6A
RGBrgb(32, 47, 106)
HSLhsl(228, 54%, 27%)
HSVhsv(228, 70%, 42%)
CMYKcmyk(69.8%, 55.7%, 0%, 58.4%)
CIE-LABlab(21.51, 15.28, -36.43)
CIE-LCHlch(21.51, 39.51, 292.76°)
OKLaboklab(32.9% -0.0015 -0.1046)
OKLCHoklch(32.9% 0.105 269.2)
XYZxyz(4.2128, 3.3803, 14.0633)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F6A #6A5B20
analogous
#20546A #202F6A #36206A
triadic
#202F6A #6A202F #2F6A20
tetradic
#202F6A #6A2054 #6A5B20 #206A36
square
#202F6A #6A2054 #6A5B20 #206A36
split-complementary
#202F6A #6A3620 #546A20
monochromatic
#070A18 #121A3B #202F6A #2E4499 #3F5AC5

Accessibility & contrast

On white

12.53
#202F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202F6A
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F6A#FFFFFF#000000##FFFFFF
##202F6A1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09376C
Deuteranopia (green-blind)
#003069
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #202f6a;
/* rgb */ color: rgb(32, 47, 106);
/* oklch */ color: oklch(32.9% 0.105 269.2);
Tailwind
colors: {
  custom: {
    50: '#656795',
    500: '#202f6a',
    950: '#000000',
  },
}
SCSS
$custom: #202f6a;
$custom-light: #656795;
$custom-dark: #000000;
JSON
{
  "hex": "#202f6a",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 227.838,
    "s": 53.623,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32903,
    "c": 0.10463,
    "h": 269.2
  },
  "luminance": 0.03381
}

Semantic roles & 50–950 ramp

primary
#202F6A
secondary
#9E8D48
accent
#BF4BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #202F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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