#407FB8#407FB8

#407FB8 is a mid, moderate cyan. Relative luminance 0.197; OKLCH L 58.1% C 0.110 H 248.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#407FB8
RGBrgb(64, 127, 184)
HSLhsl(209, 48%, 49%)
HSVhsv(209, 65%, 72%)
CMYKcmyk(65.2%, 31%, 0%, 27.8%)
CIE-LABlab(51.53, -2.08, -35.98)
CIE-LCHlch(51.53, 36.04, 266.70°)
OKLaboklab(58.06% -0.0408 -0.1016)
OKLCHoklch(58.06% 0.11 248.1)
XYZxyz(18.3522, 19.7276, 48.1787)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FB8 #B87940
analogous
#40B8B5 #407FB8 #4043B8
triadic
#407FB8 #B8407F #7FB840
tetradic
#407FB8 #B540B8 #B87940 #43B840
square
#407FB8 #B540B8 #B87940 #43B840
split-complementary
#407FB8 #B84043 #B8B540
monochromatic
#20405D #30608B #407FB8 #6A9DCB #97BBDB

Accessibility & contrast

On white

4.25
#407FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#407FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FB8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FB8#FFFFFF#000000##000000
##407FB81.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6681BA
Deuteranopia (green-blind)
#5676B7
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #407fb8;
/* rgb */ color: rgb(64, 127, 184);
/* oklch */ color: oklch(58.1% 0.110 248.1);
Tailwind
colors: {
  custom: {
    50: '#81a3cd',
    500: '#407fb8',
    950: '#000000',
  },
}
SCSS
$custom: #407fb8;
$custom-light: #81a3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#407fb8",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 184
  },
  "hsl": {
    "h": 208.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58057,
    "c": 0.10953,
    "h": 248.1
  },
  "luminance": 0.19729
}

Semantic roles & 50–950 ramp

primary
#407FB8
secondary
#C7A88D
accent
#9050D8
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #407FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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