#407BBF#407BBF

#407BBF is a mid, vivid cyan. Relative luminance 0.190; OKLCH L 57.5% C 0.122 H 253.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#407BBF
RGBrgb(64, 123, 191)
HSLhsl(212, 50%, 50%)
HSVhsv(212, 66%, 75%)
CMYKcmyk(66.5%, 35.6%, 0%, 25.1%)
CIE-LABlab(50.71, 2.75, -41.29)
CIE-LCHlch(50.71, 41.38, 273.81°)
OKLaboklab(57.53% -0.0347 -0.1172)
OKLCHoklch(57.53% 0.122 253.5)
XYZxyz(18.5978, 19.0156, 51.9704)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BBF #BF8440
analogous
#40BBBF #407BBF #4440BF
triadic
#407BBF #BF407B #7BBF40
tetradic
#407BBF #BF40BB #BF8440 #40BF44
square
#407BBF #BF40BB #BF8440 #40BF44
split-complementary
#407BBF #BF4440 #BBBF40
monochromatic
#214063 #315D91 #407BBF #6E9BCE #9CBADE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##407BBF#FFFFFF#000000##000000
##407BBF1.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)
#5D7FC2
Deuteranopia (green-blind)
#4B73BE
Tritanopia (blue-blind)
#008B94
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #407bbf;
/* rgb */ color: rgb(64, 123, 191);
/* oklch */ color: oklch(57.5% 0.122 253.5);
Tailwind
colors: {
  custom: {
    50: '#82a0d2',
    500: '#407bbf',
    950: '#000000',
  },
}
SCSS
$custom: #407bbf;
$custom-light: #82a0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#407bbf",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 191
  },
  "hsl": {
    "h": 212.126,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.57525,
    "c": 0.12222,
    "h": 253.5
  },
  "luminance": 0.19017
}

Semantic roles & 50–950 ramp

primary
#407BBF
secondary
#CAAF91
accent
#994ED9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #407BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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