#202A5B#202A5B

#202A5B is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.6% C 0.088 H 271.6°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#202A5B
RGBrgb(32, 42, 91)
HSLhsl(230, 48%, 24%)
HSVhsv(230, 65%, 36%)
CMYKcmyk(64.8%, 53.8%, 0%, 64.3%)
CIE-LABlab(18.88, 12.97, -30.83)
CIE-LCHlch(18.88, 33.45, 292.81°)
OKLaboklab(30.55% 0.0024 -0.0882)
OKLCHoklch(30.55% 0.088 271.6)
XYZxyz(3.3113, 2.7181, 10.2456)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A5B #5B5120
analogous
#20485B #202A5B #34205B
triadic
#202A5B #5B202A #2A5B20
tetradic
#202A5B #5B2048 #5B5120 #205B34
square
#202A5B #5B2048 #5B5120 #205B34
split-complementary
#202A5B #5B3420 #485B20
monochromatic
#080A17 #10152E #202A5B #303F88 #4054B6

Accessibility & contrast

On white

13.60
#202A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#202A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A5B
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A5B#FFFFFF#000000##FFFFFF
##202A5B1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10315D
Deuteranopia (green-blind)
#052B5A
Tritanopia (blue-blind)
#00353E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #202a5b;
/* rgb */ color: rgb(32, 42, 91);
/* oklch */ color: oklch(30.6% 0.088 271.6);
Tailwind
colors: {
  custom: {
    50: '#62638a',
    500: '#202a5b',
    950: '#000000',
  },
}
SCSS
$custom: #202a5b;
$custom-light: #62638a;
$custom-dark: #000000;
JSON
{
  "hex": "#202a5b",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 229.831,
    "s": 47.967,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30554,
    "c": 0.08826,
    "h": 271.6
  },
  "luminance": 0.02718
}

Semantic roles & 50–950 ramp

primary
#202A5B
secondary
#8F8347
accent
#C150D8
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050B
muted
#7A797C

Preview Lab

Preview with #202A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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