#407CB3#407CB3

#407CB3 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 57.1% C 0.106 H 248.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#407CB3
RGBrgb(64, 124, 179)
HSLhsl(209, 47%, 48%)
HSVhsv(209, 64%, 70%)
CMYKcmyk(64.2%, 30.7%, 0%, 29.8%)
CIE-LABlab(50.40, -2.01, -34.86)
CIE-LCHlch(50.40, 34.92, 266.70°)
OKLaboklab(57.09% -0.0391 -0.0984)
OKLCHoklch(57.09% 0.106 248.3)
XYZxyz(17.4557, 18.7582, 45.3399)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CB3 #B37740
analogous
#40B3B1 #407CB3 #4042B3
triadic
#407CB3 #B3407C #7CB340
tetradic
#407CB3 #B140B3 #B37740 #42B340
square
#407CB3 #B140B3 #B37740 #42B340
split-complementary
#407CB3 #B34042 #B3B140
monochromatic
#203E59 #305D86 #407CB3 #679AC9 #94B8D9

Accessibility & contrast

On white

4.42
#407CB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#407CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CB3
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CB3#FFFFFF#000000##000000
##407CB31.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#647EB5
Deuteranopia (green-blind)
#5473B2
Tritanopia (blue-blind)
#00898F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #407cb3;
/* rgb */ color: rgb(64, 124, 179);
/* oklch */ color: oklch(57.1% 0.106 248.3);
Tailwind
colors: {
  custom: {
    50: '#80a1ca',
    500: '#407cb3',
    950: '#000000',
  },
}
SCSS
$custom: #407cb3;
$custom-light: #80a1ca;
$custom-dark: #000000;
JSON
{
  "hex": "#407cb3",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 179
  },
  "hsl": {
    "h": 208.696,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57093,
    "c": 0.10593,
    "h": 248.3
  },
  "luminance": 0.1876
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #407CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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