#4081AC#4081AC

#4081AC is a mid, moderate cyan. Relative luminance 0.198; OKLCH L 57.9% C 0.094 H 240.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4081AC
RGBrgb(64, 129, 172)
HSLhsl(204, 46%, 46%)
HSVhsv(204, 63%, 67%)
CMYKcmyk(62.8%, 25%, 0%, 32.5%)
CIE-LABlab(51.57, -7.31, -28.99)
CIE-LCHlch(51.57, 29.90, 255.84°)
OKLaboklab(57.91% -0.0468 -0.0814)
OKLCHoklch(57.91% 0.094 240.1)
XYZxyz(17.4082, 19.7674, 41.9198)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4081AC #AC6B40
analogous
#40ACA1 #4081AC #404BAC
triadic
#4081AC #AC4081 #81AC40
tetradic
#4081AC #A140AC #AC6B40 #4BAC40
square
#4081AC #A140AC #AC6B40 #4BAC40
split-complementary
#4081AC #AC404B #ACA140
monochromatic
#1F3E53 #2F607F #4081AC #649FC5 #91BAD6

Accessibility & contrast

On white

4.24
#4081AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#4081AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4081AC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4081AC#FFFFFF#000000##000000
##4081AC1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D81AE
Deuteranopia (green-blind)
#5F76AB
Tritanopia (blue-blind)
#008C90
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4081ac;
/* rgb */ color: rgb(64, 129, 172);
/* oklch */ color: oklch(57.9% 0.094 240.1);
Tailwind
colors: {
  custom: {
    50: '#7fa5c5',
    500: '#4081ac',
    950: '#000000',
  },
}
SCSS
$custom: #4081ac;
$custom-light: #7fa5c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4081ac",
  "rgb": {
    "r": 64,
    "g": 129,
    "b": 172
  },
  "hsl": {
    "h": 203.889,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57911,
    "c": 0.0939,
    "h": 240.1
  },
  "luminance": 0.19769
}

Semantic roles & 50–950 ramp

primary
#4081AC
secondary
#C19E87
accent
#8752D5
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B0F12
muted
#7C7F81

Preview Lab

Preview with #4081AC

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

Preview Lab → · Contrast checker → · Palette generator →

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