#4082BA#4082BA

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

Color values

HEX#4082BA
RGBrgb(64, 130, 186)
HSLhsl(208, 49%, 49%)
HSVhsv(208, 66%, 73%)
CMYKcmyk(65.6%, 30.1%, 0%, 27.1%)
CIE-LABlab(52.51, -3.16, -35.59)
CIE-LCHlch(52.51, 35.73, 264.93°)
OKLaboklab(58.86% -0.0434 -0.1005)
OKLCHoklch(58.86% 0.109 246.7)
XYZxyz(18.9566, 20.5985, 49.4217)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4082BA #BA7840
analogous
#40BAB5 #4082BA #4045BA
triadic
#4082BA #BA4082 #82BA40
tetradic
#4082BA #B540BA #BA7840 #45BA40
square
#4082BA #B540BA #BA7840 #45BA40
split-complementary
#4082BA #BA4045 #BAB540
monochromatic
#21425F #30628C #4082BA #6BA0CC #99BDDC

Accessibility & contrast

On white

4.10
#4082BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4082BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4082BA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4082BA#FFFFFF#000000##000000
##4082BA1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6984BC
Deuteranopia (green-blind)
#5978B9
Tritanopia (blue-blind)
#008F96
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4082ba;
/* rgb */ color: rgb(64, 130, 186);
/* oklch */ color: oklch(58.9% 0.109 246.7);
Tailwind
colors: {
  custom: {
    50: '#81a6cf',
    500: '#4082ba',
    950: '#000000',
  },
}
SCSS
$custom: #4082ba;
$custom-light: #81a6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4082ba",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 186
  },
  "hsl": {
    "h": 207.541,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58859,
    "c": 0.10944,
    "h": 246.7
  },
  "luminance": 0.206
}

Semantic roles & 50–950 ramp

primary
#4082BA
secondary
#C8A98E
accent
#8E4FD8
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #4082BA

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

Preview Lab → · Contrast checker → · Palette generator →

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