#407BB8#407BB8

#407BB8 is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 57.1% C 0.113 H 251.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#407BB8
RGBrgb(64, 123, 184)
HSLhsl(211, 48%, 49%)
HSVhsv(211, 65%, 72%)
CMYKcmyk(65.2%, 33.2%, 0%, 27.8%)
CIE-LABlab(50.35, 0.31, -37.83)
CIE-LCHlch(50.35, 37.83, 270.47°)
OKLaboklab(57.13% -0.0366 -0.1071)
OKLCHoklch(57.13% 0.113 251.1)
XYZxyz(17.8459, 18.7148, 48.0099)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BB8 #B87D40
analogous
#40B7B8 #407BB8 #4140B8
triadic
#407BB8 #B8407B #7BB840
tetradic
#407BB8 #B840B7 #B87D40 #40B841
square
#407BB8 #B840B7 #B87D40 #40B841
split-complementary
#407BB8 #B84140 #B7B840
monochromatic
#203E5D #305D8B #407BB8 #6A9ACB #97B9DB

Accessibility & contrast

On white

4.43
#407BB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#407BB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BB8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BB8#FFFFFF#000000##000000
##407BB81.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#607EBB
Deuteranopia (green-blind)
#5073B7
Tritanopia (blue-blind)
#008991
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #407bb8;
/* rgb */ color: rgb(64, 123, 184);
/* oklch */ color: oklch(57.1% 0.113 251.1);
Tailwind
colors: {
  custom: {
    50: '#81a0cd',
    500: '#407bb8',
    950: '#000000',
  },
}
SCSS
$custom: #407bb8;
$custom-light: #81a0cd;
$custom-dark: #000000;
JSON
{
  "hex": "#407bb8",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 184
  },
  "hsl": {
    "h": 210.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57133,
    "c": 0.11316,
    "h": 251.1
  },
  "luminance": 0.18717
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #407BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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