#4081CC#4081CC

#4081CC is a mid, vivid cyan. Relative luminance 0.211; OKLCH L 59.6% C 0.133 H 253.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4081CC
RGBrgb(64, 129, 204)
HSLhsl(212, 58%, 53%)
HSVhsv(212, 69%, 80%)
CMYKcmyk(68.6%, 36.8%, 0%, 20%)
CIE-LABlab(53.11, 3.70, -44.90)
CIE-LCHlch(53.11, 45.05, 274.72°)
OKLaboklab(59.63% -0.0374 -0.1277)
OKLCHoklch(59.63% 0.133 253.7)
XYZxyz(20.8597, 21.1480, 60.0977)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4081CC #CC8B40
analogous
#40C7CC #4081CC #4540CC
triadic
#4081CC #CC4081 #81CC40
tetradic
#4081CC #CC40C7 #CC8B40 #40CC45
square
#4081CC #CC40C7 #CC8B40 #40CC45
split-complementary
#4081CC #CC4540 #C7CC40
monochromatic
#1F4673 #2C63A3 #4081CC #70A1D9 #A1C1E6

Accessibility & contrast

On white

4.02
#4081CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4081CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4081CC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4081CC#FFFFFF#000000##000000
##4081CC1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86CF
Deuteranopia (green-blind)
#4B79CA
Tritanopia (blue-blind)
#00929D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4081cc;
/* rgb */ color: rgb(64, 129, 204);
/* oklch */ color: oklch(59.6% 0.133 253.7);
Tailwind
colors: {
  custom: {
    50: '#84a5dc',
    500: '#4081cc',
    950: '#000000',
  },
}
SCSS
$custom: #4081cc;
$custom-light: #84a5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4081cc",
  "rgb": {
    "r": 64,
    "g": 129,
    "b": 204
  },
  "hsl": {
    "h": 212.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59626,
    "c": 0.13301,
    "h": 253.7
  },
  "luminance": 0.2115
}

Semantic roles & 50–950 ramp

primary
#4081CC
secondary
#D2B695
accent
#9947E1
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4081CC

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

Preview Lab → · Contrast checker → · Palette generator →

#4081CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva