#4082AF#4082AF

#4082AF is a mid, moderate cyan. Relative luminance 0.202; OKLCH L 58.3% C 0.097 H 241.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4082AF
RGBrgb(64, 130, 175)
HSLhsl(204, 46%, 47%)
HSVhsv(204, 63%, 69%)
CMYKcmyk(63.4%, 25.7%, 0%, 31.4%)
CIE-LABlab(52.00, -6.89, -30.05)
CIE-LCHlch(52.00, 30.83, 257.09°)
OKLaboklab(58.3% -0.0469 -0.0844)
OKLCHoklch(58.3% 0.097 241)
XYZxyz(17.8319, 20.1486, 43.4985)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4082AF #AF6D40
analogous
#40AFA5 #4082AF #404BAF
triadic
#4082AF #AF4082 #82AF40
tetradic
#4082AF #A540AF #AF6D40 #4BAF40
square
#4082AF #A540AF #AF6D40 #4BAF40
split-complementary
#4082AF #AF404B #AFA540
monochromatic
#1F3F55 #306182 #4082AF #659FC7 #92BBD7

Accessibility & contrast

On white

4.17
#4082AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#4082AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4082AF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4082AF#FFFFFF#000000##000000
##4082AF1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E82B1
Deuteranopia (green-blind)
#5F77AE
Tritanopia (blue-blind)
#008D91
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4082af;
/* rgb */ color: rgb(64, 130, 175);
/* oklch */ color: oklch(58.3% 0.097 241.0);
Tailwind
colors: {
  custom: {
    50: '#80a6c7',
    500: '#4082af',
    950: '#000000',
  },
}
SCSS
$custom: #4082af;
$custom-light: #80a6c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4082af",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 175
  },
  "hsl": {
    "h": 204.324,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58297,
    "c": 0.09659,
    "h": 241
  },
  "luminance": 0.2015
}

Semantic roles & 50–950 ramp

primary
#4082AF
secondary
#C3A088
accent
#8752D6
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #4082AF

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

Preview Lab → · Contrast checker → · Palette generator →

#4082AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva