#407FB3#407FB3

#407FB3 is a mid, moderate cyan. Relative luminance 0.195; OKLCH L 57.8% C 0.103 H 245.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#407FB3
RGBrgb(64, 127, 179)
HSLhsl(207, 47%, 48%)
HSVhsv(207, 64%, 70%)
CMYKcmyk(64.2%, 29.1%, 0%, 29.8%)
CIE-LABlab(51.29, -3.79, -33.47)
CIE-LCHlch(51.29, 33.68, 263.54°)
OKLaboklab(57.79% -0.0423 -0.0944)
OKLCHoklch(57.79% 0.103 245.8)
XYZxyz(17.8374, 19.5216, 45.4671)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FB3 #B37440
analogous
#40B3AD #407FB3 #4046B3
triadic
#407FB3 #B3407F #7FB340
tetradic
#407FB3 #AD40B3 #B37440 #46B340
square
#407FB3 #AD40B3 #B37440 #46B340
split-complementary
#407FB3 #B34046 #B3AD40
monochromatic
#203F59 #305F86 #407FB3 #679DC9 #94BAD9

Accessibility & contrast

On white

4.28
#407FB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#407FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FB3
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FB3#FFFFFF#000000##000000
##407FB31.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6880B5
Deuteranopia (green-blind)
#5875B2
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407fb3;
/* rgb */ color: rgb(64, 127, 179);
/* oklch */ color: oklch(57.8% 0.103 245.8);
Tailwind
colors: {
  custom: {
    50: '#80a3ca',
    500: '#407fb3',
    950: '#000000',
  },
}
SCSS
$custom: #407fb3;
$custom-light: #80a3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#407fb3",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 179
  },
  "hsl": {
    "h": 207.13,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57793,
    "c": 0.10343,
    "h": 245.8
  },
  "luminance": 0.19523
}

Semantic roles & 50–950 ramp

primary
#407FB3
secondary
#C4A58A
accent
#8D51D7
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #407FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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