#407CA3#407CA3

#407CA3 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.3% C 0.087 H 239.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#407CA3
RGBrgb(64, 124, 163)
HSLhsl(204, 44%, 45%)
HSVhsv(204, 61%, 64%)
CMYKcmyk(60.7%, 23.9%, 0%, 36.1%)
CIE-LABlab(49.68, -7.41, -26.72)
CIE-LCHlch(49.68, 27.72, 254.50°)
OKLaboklab(56.28% -0.0444 -0.0749)
OKLCHoklch(56.28% 0.087 239.4)
XYZxyz(15.9304, 18.1481, 37.3066)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CA3 #A36740
analogous
#40A398 #407CA3 #404BA3
triadic
#407CA3 #A3407C #7CA340
tetradic
#407CA3 #9840A3 #A36740 #4BA340
square
#407CA3 #9840A3 #A36740 #4BA340
split-complementary
#407CA3 #A3404B #A39840
monochromatic
#1D394B #2F5B77 #407CA3 #609AC0 #8CB6D2

Accessibility & contrast

On white

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

On black

4.63
#407CA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CA3
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CA3#FFFFFF#000000##000000
##407CA31.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7CA5
Deuteranopia (green-blind)
#5D72A2
Tritanopia (blue-blind)
#008689
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #407ca3;
/* rgb */ color: rgb(64, 124, 163);
/* oklch */ color: oklch(56.3% 0.087 239.4);
Tailwind
colors: {
  custom: {
    50: '#7ea1be',
    500: '#407ca3',
    950: '#000000',
  },
}
SCSS
$custom: #407ca3;
$custom-light: #7ea1be;
$custom-dark: #000000;
JSON
{
  "hex": "#407ca3",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 163
  },
  "hsl": {
    "h": 203.636,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56279,
    "c": 0.08703,
    "h": 239.4
  },
  "luminance": 0.1815
}

Semantic roles & 50–950 ramp

primary
#407CA3
secondary
#BD9982
accent
#8654D3
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #407CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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