#40869A#40869A

#40869A is a mid, moderate cyan. Relative luminance 0.205; OKLCH L 58.3% C 0.076 H 219.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#40869A
RGBrgb(64, 134, 154)
HSLhsl(193, 41%, 43%)
HSVhsv(193, 58%, 60%)
CMYKcmyk(58.4%, 13%, 0%, 39.6%)
CIE-LABlab(52.37, -15.93, -17.34)
CIE-LCHlch(52.37, 23.55, 227.44°)
OKLaboklab(58.3% -0.0592 -0.0481)
OKLCHoklch(58.3% 0.076 219.1)
XYZxyz(16.4699, 20.4717, 33.6491)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40869A #9A5440
analogous
#409A81 #40869A #40599A
triadic
#40869A #9A4086 #869A40
tetradic
#40869A #81409A #9A5440 #599A40
square
#40869A #81409A #9A5440 #599A40
split-complementary
#40869A #9A4059 #9A8140
monochromatic
#1C3B44 #2E606F #40869A #5CA6BB #87BECD

Accessibility & contrast

On white

4.12
#40869A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#40869A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40869A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40869A#FFFFFF#000000##000000
##40869A1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#79839B
Deuteranopia (green-blind)
#6C799A
Tritanopia (blue-blind)
#008D8C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #40869a;
/* rgb */ color: rgb(64, 134, 154);
/* oklch */ color: oklch(58.3% 0.076 219.1);
Tailwind
colors: {
  custom: {
    50: '#7da9b7',
    500: '#40869a',
    950: '#000000',
  },
}
SCSS
$custom: #40869a;
$custom-light: #7da9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#40869a",
  "rgb": {
    "r": 64,
    "g": 134,
    "b": 154
  },
  "hsl": {
    "h": 193.333,
    "s": 41.284,
    "l": 42.745
  },
  "oklch": {
    "l": 0.58303,
    "c": 0.07632,
    "h": 219.1
  },
  "luminance": 0.20473
}

Semantic roles & 50–950 ramp

primary
#40869A
secondary
#B88B7E
accent
#7257D1
background
#F8FAFB
surface
#EFF4F6
border
#CACED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #40869A

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

Preview Lab → · Contrast checker → · Palette generator →

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