#407DB3#407DB3

#407DB3 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.3% C 0.105 H 247.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#407DB3
RGBrgb(64, 125, 179)
HSLhsl(208, 47%, 48%)
HSVhsv(208, 64%, 70%)
CMYKcmyk(64.2%, 30.2%, 0%, 29.8%)
CIE-LABlab(50.70, -2.61, -34.40)
CIE-LCHlch(50.70, 34.50, 265.67°)
OKLaboklab(57.33% -0.0402 -0.0971)
OKLCHoklch(57.33% 0.105 247.5)
XYZxyz(17.5816, 19.0102, 45.3819)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407DB3 #B37640
analogous
#40B3AF #407DB3 #4043B3
triadic
#407DB3 #B3407D #7DB340
tetradic
#407DB3 #AF40B3 #B37640 #43B340
square
#407DB3 #AF40B3 #B37640 #43B340
split-complementary
#407DB3 #B34043 #B3AF40
monochromatic
#203E59 #305E86 #407DB3 #679BC9 #94B9D9

Accessibility & contrast

On white

4.37
#407DB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#407DB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407DB3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407DB3#FFFFFF#000000##000000
##407DB31.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#657FB5
Deuteranopia (green-blind)
#5674B2
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #407db3;
/* rgb */ color: rgb(64, 125, 179);
/* oklch */ color: oklch(57.3% 0.105 247.5);
Tailwind
colors: {
  custom: {
    50: '#80a2ca',
    500: '#407db3',
    950: '#000000',
  },
}
SCSS
$custom: #407db3;
$custom-light: #80a2ca;
$custom-dark: #000000;
JSON
{
  "hex": "#407db3",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 179
  },
  "hsl": {
    "h": 208.174,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57326,
    "c": 0.10507,
    "h": 247.5
  },
  "luminance": 0.19012
}

Semantic roles & 50–950 ramp

primary
#407DB3
secondary
#C4A68A
accent
#9051D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0F13
muted
#7C7E82

Preview Lab

Preview with #407DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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