#407FBA#407FBA

#407FBA is a mid, moderate cyan. Relative luminance 0.198; OKLCH L 58.2% C 0.112 H 249.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#407FBA
RGBrgb(64, 127, 186)
HSLhsl(209, 49%, 49%)
HSVhsv(209, 66%, 73%)
CMYKcmyk(65.6%, 31.7%, 0%, 27.1%)
CIE-LABlab(51.62, -1.39, -36.97)
CIE-LCHlch(51.62, 37.00, 267.85°)
OKLaboklab(58.16% -0.0402 -0.1045)
OKLCHoklch(58.16% 0.112 249)
XYZxyz(18.5634, 19.8120, 49.2907)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FBA #BA7B40
analogous
#40BAB8 #407FBA #4042BA
triadic
#407FBA #BA407F #7FBA40
tetradic
#407FBA #B840BA #BA7B40 #42BA40
square
#407FBA #B840BA #BA7B40 #42BA40
split-complementary
#407FBA #BA4042 #BAB840
monochromatic
#21415F #30608C #407FBA #6B9DCC #99BBDC

Accessibility & contrast

On white

4.23
#407FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#407FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FBA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FBA#FFFFFF#000000##000000
##407FBA1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6582BD
Deuteranopia (green-blind)
#5476B9
Tritanopia (blue-blind)
#008D94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #407fba;
/* rgb */ color: rgb(64, 127, 186);
/* oklch */ color: oklch(58.2% 0.112 249.0);
Tailwind
colors: {
  custom: {
    50: '#81a3cf',
    500: '#407fba',
    950: '#000000',
  },
}
SCSS
$custom: #407fba;
$custom-light: #81a3cf;
$custom-dark: #000000;
JSON
{
  "hex": "#407fba",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 186
  },
  "hsl": {
    "h": 209.016,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58164,
    "c": 0.11202,
    "h": 249
  },
  "luminance": 0.19814
}

Semantic roles & 50–950 ramp

primary
#407FBA
secondary
#C8AA8E
accent
#924FD8
background
#F8FAFC
surface
#F0F3F9
border
#CBCDD2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #407FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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