#204FCA#204FCA

#204FCA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.198 H 264.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#204FCA
RGBrgb(32, 79, 202)
HSLhsl(223, 73%, 46%)
HSVhsv(223, 84%, 79%)
CMYKcmyk(84.2%, 60.9%, 0%, 20.8%)
CIE-LABlab(38.13, 31.04, -67.94)
CIE-LCHlch(38.13, 74.70, 294.55°)
OKLaboklab(47.82% -0.0201 -0.1967)
OKLCHoklch(47.82% 0.198 264.2)
XYZxyz(14.0485, 10.1616, 57.0866)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204FCA #CA9B20
analogous
#20A4CA #204FCA #4620CA
triadic
#204FCA #CA204F #4FCA20
tetradic
#204FCA #CA20A4 #CA9B20 #20CA46
square
#204FCA #CA20A4 #CA9B20 #20CA46
split-complementary
#204FCA #CA4620 #A4CA20
monochromatic
#0F2660 #183A95 #204FCA #4671E2 #7A99EA

Accessibility & contrast

On white

6.92
#204FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#204FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #204FCA
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204FCA#FFFFFF#000000##FFFFFF
##204FCA1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0052C8
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #204fca;
/* rgb */ color: rgb(32, 79, 202);
/* oklch */ color: oklch(47.8% 0.198 264.2);
Tailwind
colors: {
  custom: {
    50: '#7b7fdb',
    500: '#204fca',
    950: '#000000',
  },
}
SCSS
$custom: #204fca;
$custom-light: #7b7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#204fca",
  "rgb": {
    "r": 32,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 223.412,
    "s": 72.65,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47817,
    "c": 0.19768,
    "h": 264.2
  },
  "luminance": 0.10163
}

Semantic roles & 50–950 ramp

primary
#204FCA
secondary
#D2B874
accent
#BD38EF
background
#F8F7FD
surface
#EFEEFB
border
#CAC9D4
text
#0B0A15
muted
#7C7C83

Preview Lab

Preview with #204FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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