#407791#407791

#407791 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.2% C 0.071 H 230.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#407791
RGBrgb(64, 119, 145)
HSLhsl(199, 39%, 41%)
HSVhsv(199, 56%, 57%)
CMYKcmyk(55.9%, 17.9%, 0%, 43.1%)
CIE-LABlab(47.40, -10.36, -19.67)
CIE-LCHlch(47.40, 22.23, 242.24°)
OKLaboklab(54.23% -0.0452 -0.0547)
OKLCHoklch(54.23% 0.071 230.5)
XYZxyz(13.8201, 16.3268, 29.2057)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407791 #915A40
analogous
#409182 #407791 #404E91
triadic
#407791 #914077 #779140
tetradic
#407791 #824091 #915A40 #4E9140
square
#407791 #824091 #915A40 #4E9140
split-complementary
#407791 #91404E #918240
monochromatic
#1B313C #2D5467 #407791 #5998B6 #83B2C8

Accessibility & contrast

On white

4.92
#407791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#407791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407791
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407791#FFFFFF#000000##FFFFFF
##4077911.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7592
Deuteranopia (green-blind)
#5E6D91
Tritanopia (blue-blind)
#007E7F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #407791;
/* rgb */ color: rgb(64, 119, 145);
/* oklch */ color: oklch(54.2% 0.071 230.5);
Tailwind
colors: {
  custom: {
    50: '#7b9eb1',
    500: '#407791',
    950: '#000000',
  },
}
SCSS
$custom: #407791;
$custom-light: #7b9eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#407791",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 145
  },
  "hsl": {
    "h": 199.259,
    "s": 38.756,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54225,
    "c": 0.07097,
    "h": 230.5
  },
  "luminance": 0.16328
}

Semantic roles & 50–950 ramp

primary
#407791
secondary
#B38C7A
accent
#7F59CF
background
#F7F9FA
surface
#EEF2F5
border
#C9CCCF
text
#0A0E10
muted
#7C7E7F

Preview Lab

Preview with #407791

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

Preview Lab → · Contrast checker → · Palette generator →

#407791 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva