#407E9B#407E9B

#407E9B is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.4% C 0.078 H 230.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#407E9B
RGBrgb(64, 126, 155)
HSLhsl(199, 42%, 43%)
HSVhsv(199, 59%, 61%)
CMYKcmyk(58.7%, 18.7%, 0%, 39.2%)
CIE-LABlab(49.95, -11.16, -21.63)
CIE-LCHlch(49.95, 24.34, 242.71°)
OKLaboklab(56.39% -0.0496 -0.0603)
OKLCHoklch(56.39% 0.078 230.6)
XYZxyz(15.4893, 18.3768, 33.7348)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407E9B #9B5D40
analogous
#409B8A #407E9B #40509B
triadic
#407E9B #9B407E #7E9B40
tetradic
#407E9B #8A409B #9B5D40 #509B40
square
#407E9B #8A409B #9B5D40 #509B40
split-complementary
#407E9B #9B4050 #9B8A40
monochromatic
#1C3844 #2E5B70 #407E9B #5C9DBC #88B7CE

Accessibility & contrast

On white

4.49
#407E9B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#407E9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407E9B
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407E9B#FFFFFF#000000##000000
##407E9B1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7C9C
Deuteranopia (green-blind)
#63739B
Tritanopia (blue-blind)
#008687
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #407e9b;
/* rgb */ color: rgb(64, 126, 155);
/* oklch */ color: oklch(56.4% 0.078 230.6);
Tailwind
colors: {
  custom: {
    50: '#7da3b8',
    500: '#407e9b',
    950: '#000000',
  },
}
SCSS
$custom: #407e9b;
$custom-light: #7da3b8;
$custom-dark: #000000;
JSON
{
  "hex": "#407e9b",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 155
  },
  "hsl": {
    "h": 199.121,
    "s": 41.553,
    "l": 42.941
  },
  "oklch": {
    "l": 0.56387,
    "c": 0.07806,
    "h": 230.6
  },
  "luminance": 0.18378
}

Semantic roles & 50–950 ramp

primary
#407E9B
secondary
#B8917E
accent
#7E56D1
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #407E9B

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

Preview Lab → · Contrast checker → · Palette generator →

#407E9B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva