#407BB2#407BB2

#407BB2 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.8% C 0.106 H 248.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#407BB2
RGBrgb(64, 123, 178)
HSLhsl(209, 47%, 47%)
HSVhsv(209, 64%, 70%)
CMYKcmyk(64%, 30.9%, 0%, 30.2%)
CIE-LABlab(50.06, -1.76, -34.82)
CIE-LCHlch(50.06, 34.87, 267.11°)
OKLaboklab(56.81% -0.0384 -0.0983)
OKLCHoklch(56.81% 0.106 248.7)
XYZxyz(17.2302, 18.4686, 44.7676)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BB2 #B27740
analogous
#40B2B0 #407BB2 #4042B2
triadic
#407BB2 #B2407B #7BB240
tetradic
#407BB2 #B040B2 #B27740 #42B240
square
#407BB2 #B040B2 #B27740 #42B240
split-complementary
#407BB2 #B24042 #B2B040
monochromatic
#203D58 #305C85 #407BB2 #6799C8 #94B7D8

Accessibility & contrast

On white

4.47
#407BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#407BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BB2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BB2#FFFFFF#000000##000000
##407BB21.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#637DB4
Deuteranopia (green-blind)
#5472B1
Tritanopia (blue-blind)
#00888E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #407bb2;
/* rgb */ color: rgb(64, 123, 178);
/* oklch */ color: oklch(56.8% 0.106 248.7);
Tailwind
colors: {
  custom: {
    50: '#80a0c9',
    500: '#407bb2',
    950: '#000000',
  },
}
SCSS
$custom: #407bb2;
$custom-light: #80a0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#407bb2",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 208.947,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56807,
    "c": 0.10555,
    "h": 248.7
  },
  "luminance": 0.1847
}

Semantic roles & 50–950 ramp

primary
#407BB2
secondary
#C4A68A
accent
#9251D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #407BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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