#407D9B#407D9B

#407D9B is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.1% C 0.078 H 231.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#407D9B
RGBrgb(64, 125, 155)
HSLhsl(200, 42%, 43%)
HSVhsv(200, 59%, 61%)
CMYKcmyk(58.7%, 19.4%, 0%, 39.2%)
CIE-LABlab(49.64, -10.59, -22.10)
CIE-LCHlch(49.64, 24.50, 244.39°)
OKLaboklab(56.14% -0.0484 -0.0616)
OKLCHoklch(56.14% 0.078 231.8)
XYZxyz(15.3621, 18.1224, 33.6924)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407D9B #9B5E40
analogous
#409B8B #407D9B #404F9B
triadic
#407D9B #9B407D #7D9B40
tetradic
#407D9B #8B409B #9B5E40 #4F9B40
square
#407D9B #8B409B #9B5E40 #4F9B40
split-complementary
#407D9B #9B404F #9B8B40
monochromatic
#1C3744 #2E5A70 #407D9B #5C9CBC #88B7CE

Accessibility & contrast

On white

4.54
#407D9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#407D9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407D9B
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407D9B#FFFFFF#000000##000000
##407D9B1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7B9C
Deuteranopia (green-blind)
#61729B
Tritanopia (blue-blind)
#008587
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #407d9b;
/* rgb */ color: rgb(64, 125, 155);
/* oklch */ color: oklch(56.1% 0.078 231.8);
Tailwind
colors: {
  custom: {
    50: '#7da2b8',
    500: '#407d9b',
    950: '#000000',
  },
}
SCSS
$custom: #407d9b;
$custom-light: #7da2b8;
$custom-dark: #000000;
JSON
{
  "hex": "#407d9b",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 155
  },
  "hsl": {
    "h": 199.78,
    "s": 41.553,
    "l": 42.941
  },
  "oklch": {
    "l": 0.56144,
    "c": 0.07838,
    "h": 231.8
  },
  "luminance": 0.18124
}

Semantic roles & 50–950 ramp

primary
#407D9B
secondary
#B8927E
accent
#7F56D1
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #407D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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