#40889A#40889A

#40889A is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 58.8% C 0.077 H 216.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#40889A
RGBrgb(64, 136, 154)
HSLhsl(192, 41%, 43%)
HSVhsv(192, 58%, 60%)
CMYKcmyk(58.4%, 11.7%, 0%, 39.6%)
CIE-LABlab(52.98, -17.02, -16.41)
CIE-LCHlch(52.98, 23.64, 223.96°)
OKLaboklab(58.8% -0.0615 -0.0455)
OKLCHoklch(58.8% 0.077 216.5)
XYZxyz(16.7489, 21.0298, 33.7421)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40889A #9A5240
analogous
#409A7F #40889A #405B9A
triadic
#40889A #9A4088 #889A40
tetradic
#40889A #7F409A #9A5240 #5B9A40
square
#40889A #7F409A #9A5240 #5B9A40
split-complementary
#40889A #9A405B #9A7F40
monochromatic
#1C3C44 #2E626F #40889A #5CA8BB #87BFCD

Accessibility & contrast

On white

4.03
#40889A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#40889A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40889A
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40889A#FFFFFF#000000##000000
##40889A1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C849B
Deuteranopia (green-blind)
#6E7A9A
Tritanopia (blue-blind)
#008F8E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #40889a;
/* rgb */ color: rgb(64, 136, 154);
/* oklch */ color: oklch(58.8% 0.077 216.5);
Tailwind
colors: {
  custom: {
    50: '#7daab7',
    500: '#40889a',
    950: '#000000',
  },
}
SCSS
$custom: #40889a;
$custom-light: #7daab7;
$custom-dark: #000000;
JSON
{
  "hex": "#40889a",
  "rgb": {
    "r": 64,
    "g": 136,
    "b": 154
  },
  "hsl": {
    "h": 192,
    "s": 41.284,
    "l": 42.745
  },
  "oklch": {
    "l": 0.58796,
    "c": 0.07652,
    "h": 216.5
  },
  "luminance": 0.21031
}

Semantic roles & 50–950 ramp

primary
#40889A
secondary
#B88A7E
accent
#6F57D1
background
#F8FAFB
surface
#EFF4F6
border
#CACED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #40889A

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

Preview Lab → · Contrast checker → · Palette generator →

#40889A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva