#40819D#40819D

#40819D is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.2% C 0.079 H 228.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#40819D
RGBrgb(64, 129, 157)
HSLhsl(198, 42%, 43%)
HSVhsv(198, 59%, 62%)
CMYKcmyk(59.2%, 17.8%, 0%, 38.4%)
CIE-LABlab(50.95, -12.21, -21.26)
CIE-LCHlch(50.95, 24.52, 240.12°)
OKLaboklab(57.21% -0.0523 -0.0592)
OKLCHoklch(57.21% 0.079 228.6)
XYZxyz(16.0481, 19.2233, 34.7565)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40819D #9D5C40
analogous
#409D8A #40819D #40529D
triadic
#40819D #9D4081 #819D40
tetradic
#40819D #8A409D #9D5C40 #529D40
square
#40819D #8A409D #9D5C40 #529D40
split-complementary
#40819D #9D4052 #9D8A40
monochromatic
#1D3A46 #2E5D72 #40819D #5DA0BD #89BACF

Accessibility & contrast

On white

4.33
#40819D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#40819D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40819D
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40819D#FFFFFF#000000##000000
##40819D1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#727F9E
Deuteranopia (green-blind)
#65759D
Tritanopia (blue-blind)
#00898A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #40819d;
/* rgb */ color: rgb(64, 129, 157);
/* oklch */ color: oklch(57.2% 0.079 228.6);
Tailwind
colors: {
  custom: {
    50: '#7da5ba',
    500: '#40819d',
    950: '#000000',
  },
}
SCSS
$custom: #40819d;
$custom-light: #7da5ba;
$custom-dark: #000000;
JSON
{
  "hex": "#40819d",
  "rgb": {
    "r": 64,
    "g": 129,
    "b": 157
  },
  "hsl": {
    "h": 198.065,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.57208,
    "c": 0.07901,
    "h": 228.6
  },
  "luminance": 0.19225
}

Semantic roles & 50–950 ramp

primary
#40819D
secondary
#B9917F
accent
#7B56D2
background
#F8FAFB
surface
#EFF4F6
border
#CACED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #40819D

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

Preview Lab → · Contrast checker → · Palette generator →

#40819D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva