#202A6F#202A6F

#202A6F is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.3% C 0.119 H 271.7°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#202A6F
RGBrgb(32, 42, 111)
HSLhsl(232, 55%, 28%)
HSVhsv(232, 71%, 44%)
CMYKcmyk(71.2%, 62.2%, 0%, 56.5%)
CIE-LABlab(20.48, 20.81, -41.33)
CIE-LCHlch(20.48, 46.27, 296.72°)
OKLaboklab(32.26% 0.0035 -0.1191)
OKLCHoklch(32.26% 0.119 271.7)
XYZxyz(4.2919, 3.1103, 15.4100)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A6F #6F6520
analogous
#20516F #202A6F #3D206F
triadic
#202A6F #6F202A #2A6F20
tetradic
#202A6F #6F2051 #6F6520 #206F3D
square
#202A6F #6F2051 #6F6520 #206F3D
split-complementary
#202A6F #6F3D20 #516F20
monochromatic
#070918 #12183F #202A6F #2E3C9F #4152C8

Accessibility & contrast

On white

12.95
#202A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#202A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A6F
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A6F#FFFFFF#000000##FFFFFF
##202A6F1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #202a6f;
/* rgb */ color: rgb(32, 42, 111);
/* oklch */ color: oklch(32.3% 0.119 271.7);
Tailwind
colors: {
  custom: {
    50: '#676399',
    500: '#202a6f',
    950: '#000000',
  },
}
SCSS
$custom: #202a6f;
$custom-light: #676399;
$custom-dark: #000000;
JSON
{
  "hex": "#202a6f",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 232.405,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32263,
    "c": 0.11915,
    "h": 271.7
  },
  "luminance": 0.03111
}

Semantic roles & 50–950 ramp

primary
#202A6F
secondary
#A39748
accent
#CC49DF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #202A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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