#204398#204398

#204398 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.145 H 264.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#204398
RGBrgb(32, 67, 152)
HSLhsl(223, 65%, 36%)
HSVhsv(223, 79%, 60%)
CMYKcmyk(78.9%, 55.9%, 0%, 40.4%)
CIE-LABlab(30.85, 19.61, -50.14)
CIE-LCHlch(30.85, 53.84, 291.36°)
OKLaboklab(41.09% -0.0149 -0.1446)
OKLCHoklch(41.09% 0.145 264.1)
XYZxyz(8.2683, 6.5874, 30.5354)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204398 #987520
analogous
#207F98 #204398 #392098
triadic
#204398 #982043 #439820
tetradic
#204398 #98207F #987520 #209839
square
#204398 #98207F #987520 #209839
split-complementary
#204398 #983920 #7F9820
monochromatic
#0B1633 #152D65 #204398 #2B59CB #577EDC

Accessibility & contrast

On white

9.06
#204398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#204398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204398
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204398#FFFFFF#000000##FFFFFF
##2043981.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #204398;
/* rgb */ color: rgb(32, 67, 152);
/* oklch */ color: oklch(41.1% 0.145 264.1);
Tailwind
colors: {
  custom: {
    50: '#6f76b7',
    500: '#204398',
    950: '#000000',
  },
}
SCSS
$custom: #204398;
$custom-light: #6f76b7;
$custom-dark: #000000;
JSON
{
  "hex": "#204398",
  "rgb": {
    "r": 32,
    "g": 67,
    "b": 152
  },
  "hsl": {
    "h": 222.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41088,
    "c": 0.14537,
    "h": 264.1
  },
  "luminance": 0.06588
}

Semantic roles & 50–950 ramp

primary
#204398
secondary
#BFA054
accent
#B740E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #204398

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

Preview Lab → · Contrast checker → · Palette generator →

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