#4082BB#4082BB

#4082BB is a mid, moderate cyan. Relative luminance 0.206; OKLCH L 58.9% C 0.111 H 247.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4082BB
RGBrgb(64, 130, 187)
HSLhsl(208, 49%, 49%)
HSVhsv(208, 66%, 73%)
CMYKcmyk(65.8%, 30.5%, 0%, 26.7%)
CIE-LABlab(52.55, -2.82, -36.09)
CIE-LCHlch(52.55, 36.20, 265.54°)
OKLaboklab(58.91% -0.0431 -0.1019)
OKLCHoklch(58.91% 0.111 247.1)
XYZxyz(19.0633, 20.6412, 49.9836)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4082BB #BB7940
analogous
#40BBB7 #4082BB #4045BB
triadic
#4082BB #BB4082 #82BB40
tetradic
#4082BB #B740BB #BB7940 #45BB40
square
#4082BB #B740BB #BB7940 #45BB40
split-complementary
#4082BB #BB4045 #BBB740
monochromatic
#214360 #30628D #4082BB #6CA0CD #99BDDC

Accessibility & contrast

On white

4.09
#4082BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#4082BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4082BB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4082BB#FFFFFF#000000##000000
##4082BB1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6984BD
Deuteranopia (green-blind)
#5878BA
Tritanopia (blue-blind)
#009096
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4082bb;
/* rgb */ color: rgb(64, 130, 187);
/* oklch */ color: oklch(58.9% 0.111 247.1);
Tailwind
colors: {
  custom: {
    50: '#81a6cf',
    500: '#4082bb',
    950: '#000000',
  },
}
SCSS
$custom: #4082bb;
$custom-light: #81a6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4082bb",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 187
  },
  "hsl": {
    "h": 207.805,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58912,
    "c": 0.11065,
    "h": 247.1
  },
  "luminance": 0.20643
}

Semantic roles & 50–950 ramp

primary
#4082BB
secondary
#C8A98F
accent
#8F4FD9
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #4082BB

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

Preview Lab → · Contrast checker → · Palette generator →

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