#40859D#40859D

#40859D is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.2% C 0.078 H 223.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#40859D
RGBrgb(64, 133, 157)
HSLhsl(195, 42%, 43%)
HSVhsv(195, 59%, 62%)
CMYKcmyk(59.2%, 15.3%, 0%, 38.4%)
CIE-LABlab(52.17, -14.44, -19.38)
CIE-LCHlch(52.17, 24.17, 233.31°)
OKLaboklab(58.18% -0.0569 -0.0539)
OKLCHoklch(58.18% 0.078 223.5)
XYZxyz(16.5853, 20.2978, 34.9356)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40859D #9D5840
analogous
#409D86 #40859D #40569D
triadic
#40859D #9D4085 #859D40
tetradic
#40859D #86409D #9D5840 #569D40
square
#40859D #86409D #9D5840 #569D40
split-complementary
#40859D #9D4056 #9D8640
monochromatic
#1D3B46 #2E6072 #40859D #5DA4BD #89BDCF

Accessibility & contrast

On white

4.15
#40859D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#40859D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40859D
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40859D#FFFFFF#000000##000000
##40859D1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#77829E
Deuteranopia (green-blind)
#6A789D
Tritanopia (blue-blind)
#008C8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #40859d;
/* rgb */ color: rgb(64, 133, 157);
/* oklch */ color: oklch(58.2% 0.078 223.5);
Tailwind
colors: {
  custom: {
    50: '#7da8ba',
    500: '#40859d',
    950: '#000000',
  },
}
SCSS
$custom: #40859d;
$custom-light: #7da8ba;
$custom-dark: #000000;
JSON
{
  "hex": "#40859d",
  "rgb": {
    "r": 64,
    "g": 133,
    "b": 157
  },
  "hsl": {
    "h": 195.484,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.58185,
    "c": 0.07835,
    "h": 223.5
  },
  "luminance": 0.20299
}

Semantic roles & 50–950 ramp

primary
#40859D
secondary
#B98E7F
accent
#7656D2
background
#F8FAFB
surface
#EFF4F6
border
#CACED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #40859D

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

Preview Lab → · Contrast checker → · Palette generator →

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