#4081CB#4081CB

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

Color values

HEX#4081CB
RGBrgb(64, 129, 203)
HSLhsl(212, 57%, 52%)
HSVhsv(212, 68%, 80%)
CMYKcmyk(68.5%, 36.5%, 0%, 20.4%)
CIE-LABlab(53.06, 3.35, -44.42)
CIE-LCHlch(53.06, 44.54, 274.32°)
OKLaboklab(59.57% -0.0376 -0.1262)
OKLCHoklch(59.57% 0.132 253.4)
XYZxyz(20.7401, 21.1001, 59.4680)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4081CB #CB8A40
analogous
#40C7CB #4081CB #4440CB
triadic
#4081CB #CB4081 #81CB40
tetradic
#4081CB #CB40C7 #CB8A40 #40CB44
square
#4081CB #CB40C7 #CB8A40 #40CB44
split-complementary
#4081CB #CB4440 #C7CB40
monochromatic
#1F4672 #2C63A2 #4081CB #70A1D8 #A0C0E5

Accessibility & contrast

On white

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

On black

5.22
#4081CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4081CB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4081CB#FFFFFF#000000##000000
##4081CB1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CE
Deuteranopia (green-blind)
#4C79CA
Tritanopia (blue-blind)
#00929C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4081cb;
/* rgb */ color: rgb(64, 129, 203);
/* oklch */ color: oklch(59.6% 0.132 253.4);
Tailwind
colors: {
  custom: {
    50: '#84a5db',
    500: '#4081cb',
    950: '#000000',
  },
}
SCSS
$custom: #4081cb;
$custom-light: #84a5db;
$custom-dark: #000000;
JSON
{
  "hex": "#4081cb",
  "rgb": {
    "r": 64,
    "g": 129,
    "b": 203
  },
  "hsl": {
    "h": 211.942,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59568,
    "c": 0.13172,
    "h": 253.4
  },
  "luminance": 0.21102
}

Semantic roles & 50–950 ramp

primary
#4081CB
secondary
#D2B595
accent
#9947E0
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4081CB

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

Preview Lab → · Contrast checker → · Palette generator →

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