#204A94#204A94

#204A94 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.131 H 260.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#204A94
RGBrgb(32, 74, 148)
HSLhsl(218, 64%, 35%)
HSVhsv(218, 78%, 58%)
CMYKcmyk(78.4%, 50%, 0%, 42%)
CIE-LABlab(32.57, 13.24, -44.91)
CIE-LCHlch(32.57, 46.82, 286.43°)
OKLaboklab(42.31% -0.021 -0.1291)
OKLCHoklch(42.31% 0.131 260.8)
XYZxyz(8.3878, 7.3418, 28.9863)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204A94 #946A20
analogous
#208494 #204A94 #302094
triadic
#204A94 #94204A #4A9420
tetradic
#204A94 #942084 #946A20 #209430
square
#204A94 #942084 #946A20 #209430
split-complementary
#204A94 #943020 #849420
monochromatic
#0A182F #153162 #204A94 #2B63C6 #5485DA

Accessibility & contrast

On white

8.51
#204A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#204A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204A94
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204A94#FFFFFF#000000##FFFFFF
##204A941.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5297
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #204a94;
/* rgb */ color: rgb(32, 74, 148);
/* oklch */ color: oklch(42.3% 0.131 260.8);
Tailwind
colors: {
  custom: {
    50: '#6e7bb4',
    500: '#204a94',
    950: '#000000',
  },
}
SCSS
$custom: #204a94;
$custom-light: #6e7bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#204a94",
  "rgb": {
    "r": 32,
    "g": 74,
    "b": 148
  },
  "hsl": {
    "h": 218.276,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42307,
    "c": 0.13079,
    "h": 260.8
  },
  "luminance": 0.07343
}

Semantic roles & 50–950 ramp

primary
#204A94
secondary
#BE9752
accent
#AB40E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #204A94

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

Preview Lab → · Contrast checker → · Palette generator →

#204A94 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva