#407DBC#407DBC

#407DBC is a mid, moderate cyan. Relative luminance 0.194; OKLCH L 57.8% C 0.116 H 251.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#407DBC
RGBrgb(64, 125, 188)
HSLhsl(210, 49%, 49%)
HSVhsv(210, 66%, 74%)
CMYKcmyk(66%, 33.5%, 0%, 26.3%)
CIE-LABlab(51.14, 0.50, -38.89)
CIE-LCHlch(51.14, 38.89, 270.74°)
OKLaboklab(57.81% -0.0376 -0.1101)
OKLCHoklch(57.81% 0.116 251.2)
XYZxyz(18.5217, 19.3862, 50.3330)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407DBC #BC7F40
analogous
#40BBBC #407DBC #4140BC
triadic
#407DBC #BC407D #7DBC40
tetradic
#407DBC #BC40BB #BC7F40 #40BC41
square
#407DBC #BC40BB #BC7F40 #40BC41
split-complementary
#407DBC #BC4140 #BBBC40
monochromatic
#214061 #305F8E #407DBC #6C9CCD #9ABBDD

Accessibility & contrast

On white

4.31
#407DBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#407DBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407DBC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407DBC#FFFFFF#000000##000000
##407DBC1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6180BF
Deuteranopia (green-blind)
#5074BB
Tritanopia (blue-blind)
#008C94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407dbc;
/* rgb */ color: rgb(64, 125, 188);
/* oklch */ color: oklch(57.8% 0.116 251.2);
Tailwind
colors: {
  custom: {
    50: '#81a2d0',
    500: '#407dbc',
    950: '#000000',
  },
}
SCSS
$custom: #407dbc;
$custom-light: #81a2d0;
$custom-dark: #000000;
JSON
{
  "hex": "#407dbc",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 188
  },
  "hsl": {
    "h": 210.484,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57813,
    "c": 0.11638,
    "h": 251.2
  },
  "luminance": 0.19388
}

Semantic roles & 50–950 ramp

primary
#407DBC
secondary
#C9AC8F
accent
#954FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0F14
muted
#7C7E82

Preview Lab

Preview with #407DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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