#204297#204297

#204297 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.145 H 264.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#204297
RGBrgb(32, 66, 151)
HSLhsl(223, 65%, 36%)
HSVhsv(223, 79%, 59%)
CMYKcmyk(78.8%, 56.3%, 0%, 40.8%)
CIE-LABlab(30.49, 19.90, -50.11)
CIE-LCHlch(30.49, 53.92, 291.66°)
OKLaboklab(40.79% -0.0143 -0.1446)
OKLCHoklch(40.79% 0.145 264.4)
XYZxyz(8.1278, 6.4369, 30.0862)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204297 #977520
analogous
#207D97 #204297 #392097
triadic
#204297 #972042 #429720
tetradic
#204297 #97207D #977520 #209739
square
#204297 #97207D #977520 #209739
split-complementary
#204297 #973920 #7D9720
monochromatic
#0B1632 #152C64 #204297 #2B58C9 #567CDB

Accessibility & contrast

On white

9.18
#204297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #204297
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204297#FFFFFF#000000##FFFFFF
##2042971.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #204297;
/* rgb */ color: rgb(32, 66, 151);
/* oklch */ color: oklch(40.8% 0.145 264.4);
Tailwind
colors: {
  custom: {
    50: '#6f75b6',
    500: '#204297',
    950: '#000000',
  },
}
SCSS
$custom: #204297;
$custom-light: #6f75b6;
$custom-dark: #000000;
JSON
{
  "hex": "#204297",
  "rgb": {
    "r": 32,
    "g": 66,
    "b": 151
  },
  "hsl": {
    "h": 222.857,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40792,
    "c": 0.14525,
    "h": 264.4
  },
  "luminance": 0.06438
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #204297

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

Preview Lab → · Contrast checker → · Palette generator →

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