#407CA2#407CA2

#407CA2 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.2% C 0.086 H 238.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#407CA2
RGBrgb(64, 124, 162)
HSLhsl(203, 43%, 44%)
HSVhsv(203, 60%, 64%)
CMYKcmyk(60.5%, 23.5%, 0%, 36.5%)
CIE-LABlab(49.63, -7.74, -26.20)
CIE-LCHlch(49.63, 27.32, 253.55°)
OKLaboklab(56.23% -0.0447 -0.0734)
OKLCHoklch(56.23% 0.086 238.6)
XYZxyz(15.8411, 18.1124, 36.8366)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CA2 #A26640
analogous
#40A297 #407CA2 #404BA2
triadic
#407CA2 #A2407C #7CA240
tetradic
#407CA2 #9740A2 #A26640 #4BA240
square
#407CA2 #9740A2 #A26640 #4BA240
split-complementary
#407CA2 #A2404B #A29740
monochromatic
#1D394A #2F5A76 #407CA2 #5F9AC0 #8BB6D1

Accessibility & contrast

On white

4.54
#407CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#407CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CA2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CA2#FFFFFF#000000##000000
##407CA21.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7CA4
Deuteranopia (green-blind)
#5D72A1
Tritanopia (blue-blind)
#008689
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #407ca2;
/* rgb */ color: rgb(64, 124, 162);
/* oklch */ color: oklch(56.2% 0.086 238.6);
Tailwind
colors: {
  custom: {
    50: '#7ea1bd',
    500: '#407ca2',
    950: '#000000',
  },
}
SCSS
$custom: #407ca2;
$custom-light: #7ea1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#407ca2",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 162
  },
  "hsl": {
    "h": 203.265,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.56231,
    "c": 0.08594,
    "h": 238.6
  },
  "luminance": 0.18114
}

Semantic roles & 50–950 ramp

primary
#407CA2
secondary
#BC9882
accent
#8655D3
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #407CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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