#202A4F#202A4F

#202A4F is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.069 H 270.4°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#202A4F
RGBrgb(32, 42, 79)
HSLhsl(227, 42%, 22%)
HSVhsv(227, 59%, 31%)
CMYKcmyk(59.5%, 46.8%, 0%, 69%)
CIE-LABlab(18.04, 8.32, -24.14)
CIE-LCHlch(18.04, 25.53, 289.02°)
OKLaboklab(29.65% 0.0005 -0.0685)
OKLCHoklch(29.65% 0.069 270.4)
XYZxyz(2.8344, 2.5273, 7.7341)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A4F #4F4520
analogous
#20424F #202A4F #2E204F
triadic
#202A4F #4F202A #2A4F20
tetradic
#202A4F #4F2042 #4F4520 #204F2E
square
#202A4F #4F2042 #4F4520 #204F2E
split-complementary
#202A4F #4F2E20 #424F20
monochromatic
#090C16 #0E1323 #202A4F #32417B #4358A6

Accessibility & contrast

On white

13.95
#202A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#202A4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A4F
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A4F#FFFFFF#000000##FFFFFF
##202A4F1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2E50
Deuteranopia (green-blind)
#152A4E
Tritanopia (blue-blind)
#083238
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #202a4f;
/* rgb */ color: rgb(32, 42, 79);
/* oklch */ color: oklch(29.6% 0.069 270.4);
Tailwind
colors: {
  custom: {
    50: '#606380',
    500: '#202a4f',
    950: '#000000',
  },
}
SCSS
$custom: #202a4f;
$custom-light: #606380;
$custom-dark: #000000;
JSON
{
  "hex": "#202a4f",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 79
  },
  "hsl": {
    "h": 227.234,
    "s": 42.342,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29648,
    "c": 0.06855,
    "h": 270.4
  },
  "luminance": 0.02528
}

Semantic roles & 50–950 ramp

primary
#202A4F
secondary
#837747
accent
#B856D2
background
#F5F5F7
surface
#EAEAEE
border
#C6C6C9
text
#05050A
muted
#79797C

Preview Lab

Preview with #202A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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