#40889F#40889F

#40889F is a mid, moderate cyan. Relative luminance 0.212; OKLCH L 59.0% C 0.080 H 221.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#40889F
RGBrgb(64, 136, 159)
HSLhsl(195, 43%, 44%)
HSVhsv(195, 60%, 62%)
CMYKcmyk(59.7%, 14.5%, 0%, 37.6%)
CIE-LABlab(53.17, -15.46, -19.02)
CIE-LCHlch(53.17, 24.51, 230.88°)
OKLaboklab(59.01% -0.0595 -0.0529)
OKLCHoklch(59.01% 0.08 221.6)
XYZxyz(17.1741, 21.1998, 35.9811)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40889F #9F5740
analogous
#409F86 #40889F #40589F
triadic
#40889F #9F4088 #889F40
tetradic
#40889F #86409F #9F5740 #589F40
square
#40889F #86409F #9F5740 #589F40
split-complementary
#40889F #9F4058 #9F8640
monochromatic
#1D3D48 #2E6373 #40889F #5EA7BE #8ABFD0

Accessibility & contrast

On white

4.01
#40889F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#40889F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40889F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40889F#FFFFFF#000000##000000
##40889F1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A85A0
Deuteranopia (green-blind)
#6D7B9F
Tritanopia (blue-blind)
#008F8F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #40889f;
/* rgb */ color: rgb(64, 136, 159);
/* oklch */ color: oklch(59.0% 0.080 221.6);
Tailwind
colors: {
  custom: {
    50: '#7eaabb',
    500: '#40889f',
    950: '#000000',
  },
}
SCSS
$custom: #40889f;
$custom-light: #7eaabb;
$custom-dark: #000000;
JSON
{
  "hex": "#40889f",
  "rgb": {
    "r": 64,
    "g": 136,
    "b": 159
  },
  "hsl": {
    "h": 194.526,
    "s": 42.601,
    "l": 43.725
  },
  "oklch": {
    "l": 0.59006,
    "c": 0.07959,
    "h": 221.6
  },
  "luminance": 0.21202
}

Semantic roles & 50–950 ramp

primary
#40889F
secondary
#BB8E80
accent
#7455D2
background
#F8FAFB
surface
#EFF4F6
border
#CACED0
text
#0B1011
muted
#7C7F80

Preview Lab

Preview with #40889F

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

Preview Lab → · Contrast checker → · Palette generator →

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