#407DBA#407DBA

#407DBA is a mid, moderate cyan. Relative luminance 0.193; OKLCH L 57.7% C 0.114 H 250.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#407DBA
RGBrgb(64, 125, 186)
HSLhsl(210, 49%, 49%)
HSVhsv(210, 66%, 73%)
CMYKcmyk(65.6%, 32.8%, 0%, 27.1%)
CIE-LABlab(51.04, -0.19, -37.90)
CIE-LCHlch(51.04, 37.90, 269.71°)
OKLaboklab(57.7% -0.0381 -0.1073)
OKLCHoklch(57.7% 0.114 250.4)
XYZxyz(18.3076, 19.3006, 49.2054)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407DBA #BA7D40
analogous
#40BABA #407DBA #4040BA
triadic
#407DBA #BA407D #7DBA40
tetradic
#407DBA #BA40BA #BA7D40 #40BA40
square
#407DBA #BA40BA #BA7D40 #40BA40
split-complementary
#407DBA #BA4040 #BABA40
monochromatic
#21405F #305E8C #407DBA #6B9CCC #99BADC

Accessibility & contrast

On white

4.32
#407DBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#407DBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407DBA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407DBA#FFFFFF#000000##000000
##407DBA1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6280BD
Deuteranopia (green-blind)
#5274B9
Tritanopia (blue-blind)
#008B93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407dba;
/* rgb */ color: rgb(64, 125, 186);
/* oklch */ color: oklch(57.7% 0.114 250.4);
Tailwind
colors: {
  custom: {
    50: '#81a2cf',
    500: '#407dba',
    950: '#000000',
  },
}
SCSS
$custom: #407dba;
$custom-light: #81a2cf;
$custom-dark: #000000;
JSON
{
  "hex": "#407dba",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 186
  },
  "hsl": {
    "h": 210,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57703,
    "c": 0.11384,
    "h": 250.4
  },
  "luminance": 0.19302
}

Semantic roles & 50–950 ramp

primary
#407DBA
secondary
#C8AB8E
accent
#944FD8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0F14
muted
#7C7E82

Preview Lab

Preview with #407DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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