#204FBB#204FBB

#204FBB is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.178 H 263.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#204FBB
RGBrgb(32, 79, 187)
HSLhsl(222, 71%, 43%)
HSVhsv(222, 83%, 73%)
CMYKcmyk(82.9%, 57.8%, 0%, 26.7%)
CIE-LABlab(36.90, 25.28, -61.20)
CIE-LCHlch(36.90, 66.21, 292.44°)
OKLaboklab(46.52% -0.0207 -0.1769)
OKLCHoklch(46.52% 0.178 263.3)
XYZxyz(12.3581, 9.4854, 48.1836)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204FBB #BB8C20
analogous
#209DBB #204FBB #3E20BB
triadic
#204FBB #BB204F #4FBB20
tetradic
#204FBB #BB209D #BB8C20 #20BB3E
square
#204FBB #BB209D #BB8C20 #20BB3E
split-complementary
#204FBB #BB3E20 #9DBB20
monochromatic
#0E2352 #173987 #204FBB #3B6CDD #6F93E6

Accessibility & contrast

On white

7.25
#204FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#204FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204FBB
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204FBB#FFFFFF#000000##FFFFFF
##204FBB1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#0050B9
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #204fbb;
/* rgb */ color: rgb(32, 79, 187);
/* oklch */ color: oklch(46.5% 0.178 263.3);
Tailwind
colors: {
  custom: {
    50: '#777fd0',
    500: '#204fbb',
    950: '#000000',
  },
}
SCSS
$custom: #204fbb;
$custom-light: #777fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#204fbb",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 221.806,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46516,
    "c": 0.17808,
    "h": 263.3
  },
  "luminance": 0.09487
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #204FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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