#205198#205198

#205198 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.2% C 0.128 H 258.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#205198
RGBrgb(32, 81, 152)
HSLhsl(216, 65%, 36%)
HSVhsv(216, 79%, 60%)
CMYKcmyk(78.9%, 46.7%, 0%, 40.4%)
CIE-LABlab(34.92, 10.12, -43.56)
CIE-LCHlch(34.92, 44.73, 283.08°)
OKLaboklab(44.2% -0.0262 -0.125)
OKLCHoklch(44.2% 0.128 258.1)
XYZxyz(9.2035, 8.4579, 30.8471)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#205198 #986720
analogous
#208D98 #205198 #2B2098
triadic
#205198 #982051 #519820
tetradic
#205198 #98208D #986720 #20982B
square
#205198 #98208D #986720 #20982B
split-complementary
#205198 #982B20 #8D9820
monochromatic
#0B1B33 #153665 #205198 #2B6CCB #578DDC

Accessibility & contrast

On white

7.80
#205198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#205198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #205198
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##205198#FFFFFF#000000##FFFFFF
##2051981.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B589B
Deuteranopia (green-blind)
#0E4D97
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #205198;
/* rgb */ color: rgb(32, 81, 152);
/* oklch */ color: oklch(44.2% 0.128 258.1);
Tailwind
colors: {
  custom: {
    50: '#6e81b7',
    500: '#205198',
    950: '#000000',
  },
}
SCSS
$custom: #205198;
$custom-light: #6e81b7;
$custom-dark: #000000;
JSON
{
  "hex": "#205198",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 152
  },
  "hsl": {
    "h": 215.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44198,
    "c": 0.12771,
    "h": 258.1
  },
  "luminance": 0.08459
}

Semantic roles & 50–950 ramp

primary
#205198
secondary
#BF9454
accent
#A340E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #205198

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

Preview Lab → · Contrast checker → · Palette generator →

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