#407FB9#407FB9

#407FB9 is a mid, moderate cyan. Relative luminance 0.198; OKLCH L 58.1% C 0.111 H 248.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#407FB9
RGBrgb(64, 127, 185)
HSLhsl(209, 49%, 49%)
HSVhsv(209, 65%, 73%)
CMYKcmyk(65.4%, 31.4%, 0%, 27.5%)
CIE-LABlab(51.58, -1.73, -36.48)
CIE-LCHlch(51.58, 36.52, 267.28°)
OKLaboklab(58.11% -0.0405 -0.1031)
OKLCHoklch(58.11% 0.111 248.5)
XYZxyz(18.4574, 19.7697, 48.7327)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FB9 #B97A40
analogous
#40B9B7 #407FB9 #4043B9
triadic
#407FB9 #B9407F #7FB940
tetradic
#407FB9 #B740B9 #B97A40 #43B940
square
#407FB9 #B740B9 #B97A40 #43B940
split-complementary
#407FB9 #B94043 #B9B740
monochromatic
#21415E #30608C #407FB9 #6B9DCC #98BBDB

Accessibility & contrast

On white

4.24
#407FB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#407FB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FB9
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FB9#FFFFFF#000000##000000
##407FB91.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6681BC
Deuteranopia (green-blind)
#5576B8
Tritanopia (blue-blind)
#008D94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #407fb9;
/* rgb */ color: rgb(64, 127, 185);
/* oklch */ color: oklch(58.1% 0.111 248.5);
Tailwind
colors: {
  custom: {
    50: '#81a3ce',
    500: '#407fb9',
    950: '#000000',
  },
}
SCSS
$custom: #407fb9;
$custom-light: #81a3ce;
$custom-dark: #000000;
JSON
{
  "hex": "#407fb9",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 185
  },
  "hsl": {
    "h": 208.76,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5811,
    "c": 0.11078,
    "h": 248.5
  },
  "luminance": 0.19772
}

Semantic roles & 50–950 ramp

primary
#407FB9
secondary
#C7A98E
accent
#9150D8
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #407FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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