#202674#202674

#202674 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.132 H 272.9°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#202674
RGBrgb(32, 38, 116)
HSLhsl(236, 57%, 29%)
HSVhsv(236, 72%, 45%)
CMYKcmyk(72.4%, 67.2%, 0%, 54.5%)
CIE-LABlab(19.86, 25.52, -45.56)
CIE-LCHlch(19.86, 52.22, 299.25°)
OKLaboklab(31.94% 0.0067 -0.1316)
OKLCHoklch(31.94% 0.132 272.9)
XYZxyz(4.4401, 2.9538, 16.8558)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202674 #746E20
analogous
#205074 #202674 #442074
triadic
#202674 #742026 #267420
tetradic
#202674 #742050 #746E20 #207444
square
#202674 #742050 #746E20 #207444
split-complementary
#202674 #744420 #507420
monochromatic
#070818 #131644 #202674 #2D36A4 #434DCB

Accessibility & contrast

On white

13.20
#202674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#202674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202674
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202674#FFFFFF#000000##FFFFFF
##2026741.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003476
Deuteranopia (green-blind)
#002C73
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #202674;
/* rgb */ color: rgb(32, 38, 116);
/* oklch */ color: oklch(31.9% 0.132 272.9);
Tailwind
colors: {
  custom: {
    50: '#68609d',
    500: '#202674',
    950: '#000000',
  },
}
SCSS
$custom: #202674;
$custom-light: #68609d;
$custom-dark: #000000;
JSON
{
  "hex": "#202674",
  "rgb": {
    "r": 32,
    "g": 38,
    "b": 116
  },
  "hsl": {
    "h": 235.714,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31944,
    "c": 0.13174,
    "h": 272.9
  },
  "luminance": 0.02954
}

Semantic roles & 50–950 ramp

primary
#202674
secondary
#A8A148
accent
#D548E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #202674

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

Preview Lab → · Contrast checker → · Palette generator →

#202674 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva