#40839F#40839F

#40839F is a mid, moderate cyan. Relative luminance 0.198; OKLCH L 57.8% C 0.080 H 227.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#40839F
RGBrgb(64, 131, 159)
HSLhsl(198, 43%, 44%)
HSVhsv(198, 60%, 62%)
CMYKcmyk(59.7%, 17.6%, 0%, 37.6%)
CIE-LABlab(51.64, -12.70, -21.36)
CIE-LCHlch(51.64, 24.85, 239.27°)
OKLaboklab(57.78% -0.0538 -0.0595)
OKLCHoklch(57.78% 0.08 227.9)
XYZxyz(16.4862, 19.8242, 35.7518)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40839F #9F5C40
analogous
#409F8B #40839F #40539F
triadic
#40839F #9F4083 #839F40
tetradic
#40839F #8B409F #9F5C40 #539F40
square
#40839F #8B409F #9F5C40 #539F40
split-complementary
#40839F #9F4053 #9F8B40
monochromatic
#1D3B48 #2E5F73 #40839F #5EA2BE #8ABBD0

Accessibility & contrast

On white

4.23
#40839F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#40839F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40839F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40839F#FFFFFF#000000##000000
##40839F1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7481A0
Deuteranopia (green-blind)
#67779F
Tritanopia (blue-blind)
#008B8C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #40839f;
/* rgb */ color: rgb(64, 131, 159);
/* oklch */ color: oklch(57.8% 0.080 227.9);
Tailwind
colors: {
  custom: {
    50: '#7ea7bb',
    500: '#40839f',
    950: '#000000',
  },
}
SCSS
$custom: #40839f;
$custom-light: #7ea7bb;
$custom-dark: #000000;
JSON
{
  "hex": "#40839f",
  "rgb": {
    "r": 64,
    "g": 131,
    "b": 159
  },
  "hsl": {
    "h": 197.684,
    "s": 42.601,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57784,
    "c": 0.08023,
    "h": 227.9
  },
  "luminance": 0.19826
}

Semantic roles & 50–950 ramp

primary
#40839F
secondary
#BB9180
accent
#7A55D2
background
#F8FAFB
surface
#EFF4F6
border
#CACED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #40839F

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

Preview Lab → · Contrast checker → · Palette generator →

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