#4082B2#4082B2

#4082B2 is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.4% C 0.100 H 242.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4082B2
RGBrgb(64, 130, 178)
HSLhsl(205, 47%, 47%)
HSVhsv(205, 64%, 70%)
CMYKcmyk(64%, 27%, 0%, 30.2%)
CIE-LABlab(52.14, -5.88, -31.57)
CIE-LCHlch(52.14, 32.11, 259.45°)
OKLaboklab(58.45% -0.0459 -0.0888)
OKLCHoklch(58.45% 0.1 242.7)
XYZxyz(18.1298, 20.2678, 45.0675)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4082B2 #B27040
analogous
#40B2A9 #4082B2 #4049B2
triadic
#4082B2 #B24082 #82B240
tetradic
#4082B2 #A940B2 #B27040 #49B240
square
#4082B2 #A940B2 #B27040 #49B240
split-complementary
#4082B2 #B24049 #B2A940
monochromatic
#204058 #306185 #4082B2 #679FC8 #94BCD8

Accessibility & contrast

On white

4.16
#4082B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4082B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4082B2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4082B2#FFFFFF#000000##000000
##4082B21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D83B4
Deuteranopia (green-blind)
#5D77B1
Tritanopia (blue-blind)
#008E93
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4082b2;
/* rgb */ color: rgb(64, 130, 178);
/* oklch */ color: oklch(58.4% 0.100 242.7);
Tailwind
colors: {
  custom: {
    50: '#80a6c9',
    500: '#4082b2',
    950: '#000000',
  },
}
SCSS
$custom: #4082b2;
$custom-light: #80a6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4082b2",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 178
  },
  "hsl": {
    "h": 205.263,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58447,
    "c": 0.1,
    "h": 242.7
  },
  "luminance": 0.2027
}

Semantic roles & 50–950 ramp

primary
#4082B2
secondary
#C4A28A
accent
#8951D7
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #4082B2

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

Preview Lab → · Contrast checker → · Palette generator →

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