#407BA1#407BA1

#407BA1 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.9% C 0.085 H 239.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#407BA1
RGBrgb(64, 123, 161)
HSLhsl(204, 43%, 44%)
HSVhsv(204, 60%, 63%)
CMYKcmyk(60.2%, 23.6%, 0%, 36.9%)
CIE-LABlab(49.29, -7.49, -26.15)
CIE-LCHlch(49.29, 27.20, 254.03°)
OKLaboklab(55.94% -0.0439 -0.0733)
OKLCHoklch(55.94% 0.085 239.1)
XYZxyz(15.6279, 17.8277, 36.3288)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BA1 #A16640
analogous
#40A197 #407BA1 #404BA1
triadic
#407BA1 #A1407B #7BA140
tetradic
#407BA1 #9740A1 #A16640 #4BA140
square
#407BA1 #9740A1 #A16640 #4BA140
split-complementary
#407BA1 #A1404B #A19740
monochromatic
#1D3849 #2F5A75 #407BA1 #5F9ABF #8BB5D1

Accessibility & contrast

On white

4.60
#407BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#407BA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #407BA1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BA1#FFFFFF#000000##FFFFFF
##407BA11.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7BA3
Deuteranopia (green-blind)
#5C71A0
Tritanopia (blue-blind)
#008588
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #407ba1;
/* rgb */ color: rgb(64, 123, 161);
/* oklch */ color: oklch(55.9% 0.085 239.1);
Tailwind
colors: {
  custom: {
    50: '#7da1bd',
    500: '#407ba1',
    950: '#000000',
  },
}
SCSS
$custom: #407ba1;
$custom-light: #7da1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#407ba1",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 161
  },
  "hsl": {
    "h": 203.505,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55942,
    "c": 0.08542,
    "h": 239.1
  },
  "luminance": 0.17829
}

Semantic roles & 50–950 ramp

primary
#407BA1
secondary
#BC9881
accent
#8655D3
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #407BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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