#204298#204298

#204298 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.147 H 264.4°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#204298
RGBrgb(32, 66, 152)
HSLhsl(223, 65%, 36%)
HSVhsv(223, 79%, 60%)
CMYKcmyk(78.9%, 56.6%, 0%, 40.4%)
CIE-LABlab(30.57, 20.30, -50.59)
CIE-LCHlch(30.57, 54.51, 291.86°)
OKLaboklab(40.88% -0.0142 -0.146)
OKLCHoklch(40.88% 0.147 264.4)
XYZxyz(8.2094, 6.4696, 30.5158)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204298 #987620
analogous
#207E98 #204298 #3A2098
triadic
#204298 #982042 #429820
tetradic
#204298 #98207E #987620 #20983A
square
#204298 #98207E #987620 #20983A
split-complementary
#204298 #983A20 #7E9820
monochromatic
#0B1633 #152C65 #204298 #2B58CB #577CDC

Accessibility & contrast

On white

9.15
#204298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#204298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204298
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204298#FFFFFF#000000##FFFFFF
##2042981.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#004396
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #204298;
/* rgb */ color: rgb(32, 66, 152);
/* oklch */ color: oklch(40.9% 0.147 264.4);
Tailwind
colors: {
  custom: {
    50: '#6f75b7',
    500: '#204298',
    950: '#000000',
  },
}
SCSS
$custom: #204298;
$custom-light: #6f75b7;
$custom-dark: #000000;
JSON
{
  "hex": "#204298",
  "rgb": {
    "r": 32,
    "g": 66,
    "b": 152
  },
  "hsl": {
    "h": 223,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40876,
    "c": 0.14665,
    "h": 264.4
  },
  "luminance": 0.06471
}

Semantic roles & 50–950 ramp

primary
#204298
secondary
#BFA154
accent
#B840E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #204298

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

Preview Lab → · Contrast checker → · Palette generator →

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