#40899D#40899D

#40899D is a mid, moderate cyan. Relative luminance 0.214; OKLCH L 59.2% C 0.078 H 218.3°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#40899D
RGBrgb(64, 137, 157)
HSLhsl(193, 42%, 43%)
HSVhsv(193, 59%, 62%)
CMYKcmyk(59.2%, 12.7%, 0%, 38.4%)
CIE-LABlab(53.40, -16.63, -17.51)
CIE-LCHlch(53.40, 24.15, 226.47°)
OKLaboklab(59.17% -0.0614 -0.0486)
OKLCHoklch(59.17% 0.078 218.3)
XYZxyz(17.1434, 21.4140, 35.1216)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40899D #9D5440
analogous
#409D82 #40899D #405A9D
triadic
#40899D #9D4089 #899D40
tetradic
#40899D #82409D #9D5440 #5A9D40
square
#40899D #82409D #9D5440 #5A9D40
split-complementary
#40899D #9D405A #9D8240
monochromatic
#1D3D46 #2E6372 #40899D #5DA8BD #89C0CF

Accessibility & contrast

On white

3.97
#40899D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#40899D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40899D
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40899D#FFFFFF#000000##000000
##40899D1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C859E
Deuteranopia (green-blind)
#6E7B9D
Tritanopia (blue-blind)
#00908F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #40899d;
/* rgb */ color: rgb(64, 137, 157);
/* oklch */ color: oklch(59.2% 0.078 218.3);
Tailwind
colors: {
  custom: {
    50: '#7eabba',
    500: '#40899d',
    950: '#000000',
  },
}
SCSS
$custom: #40899d;
$custom-light: #7eabba;
$custom-dark: #000000;
JSON
{
  "hex": "#40899d",
  "rgb": {
    "r": 64,
    "g": 137,
    "b": 157
  },
  "hsl": {
    "h": 192.903,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.59167,
    "c": 0.07834,
    "h": 218.3
  },
  "luminance": 0.21416
}

Semantic roles & 50–950 ramp

primary
#40899D
secondary
#B98C7F
accent
#7156D2
background
#F8FAFB
surface
#EFF4F6
border
#CACED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #40899D

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

Preview Lab → · Contrast checker → · Palette generator →

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