#204EBB#204EBB

#204EBB is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.179 H 263.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#204EBB
RGBrgb(32, 78, 187)
HSLhsl(222, 71%, 43%)
HSVhsv(222, 83%, 73%)
CMYKcmyk(82.9%, 58.3%, 0%, 26.7%)
CIE-LABlab(36.63, 25.94, -61.63)
CIE-LCHlch(36.63, 66.87, 292.82°)
OKLaboklab(46.32% -0.0201 -0.1782)
OKLCHoklch(46.32% 0.179 263.6)
XYZxyz(12.2865, 9.3422, 48.1597)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204EBB #BB8D20
analogous
#209BBB #204EBB #4020BB
triadic
#204EBB #BB204E #4EBB20
tetradic
#204EBB #BB209B #BB8D20 #20BB40
square
#204EBB #BB209B #BB8D20 #20BB40
split-complementary
#204EBB #BB4020 #9BBB20
monochromatic
#0E2252 #173887 #204EBB #3B6BDD #6F92E6

Accessibility & contrast

On white

7.32
#204EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#204EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204EBB
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204EBB#FFFFFF#000000##FFFFFF
##204EBB1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #204ebb;
/* rgb */ color: rgb(32, 78, 187);
/* oklch */ color: oklch(46.3% 0.179 263.6);
Tailwind
colors: {
  custom: {
    50: '#777fd0',
    500: '#204ebb',
    950: '#000000',
  },
}
SCSS
$custom: #204ebb;
$custom-light: #777fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#204ebb",
  "rgb": {
    "r": 32,
    "g": 78,
    "b": 187
  },
  "hsl": {
    "h": 222.194,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46315,
    "c": 0.17931,
    "h": 263.6
  },
  "luminance": 0.09344
}

Semantic roles & 50–950 ramp

primary
#204EBB
secondary
#CDAF6A
accent
#B83AEE
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #204EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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