#407CB8#407CB8

#407CB8 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.4% C 0.112 H 250.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#407CB8
RGBrgb(64, 124, 184)
HSLhsl(210, 48%, 49%)
HSVhsv(210, 65%, 72%)
CMYKcmyk(65.2%, 32.6%, 0%, 27.8%)
CIE-LABlab(50.65, -0.29, -37.36)
CIE-LCHlch(50.65, 37.36, 269.56°)
OKLaboklab(57.36% -0.0377 -0.1057)
OKLCHoklch(57.36% 0.112 250.4)
XYZxyz(17.9705, 18.9642, 48.0515)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CB8 #B87C40
analogous
#40B8B8 #407CB8 #4040B8
triadic
#407CB8 #B8407C #7CB840
tetradic
#407CB8 #B840B8 #B87C40 #40B840
square
#407CB8 #B840B8 #B87C40 #40B840
split-complementary
#407CB8 #B84040 #B8B840
monochromatic
#203F5D #305D8B #407CB8 #6A9BCB #97B9DB

Accessibility & contrast

On white

4.38
#407CB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#407CB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CB8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CB8#FFFFFF#000000##000000
##407CB81.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#627FBB
Deuteranopia (green-blind)
#5173B7
Tritanopia (blue-blind)
#008A91
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #407cb8;
/* rgb */ color: rgb(64, 124, 184);
/* oklch */ color: oklch(57.4% 0.112 250.4);
Tailwind
colors: {
  custom: {
    50: '#81a1cd',
    500: '#407cb8',
    950: '#000000',
  },
}
SCSS
$custom: #407cb8;
$custom-light: #81a1cd;
$custom-dark: #000000;
JSON
{
  "hex": "#407cb8",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 184
  },
  "hsl": {
    "h": 210,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57363,
    "c": 0.11222,
    "h": 250.4
  },
  "luminance": 0.18966
}

Semantic roles & 50–950 ramp

primary
#407CB8
secondary
#C7AA8D
accent
#9450D8
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #407CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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