#407DA2#407DA2

#407DA2 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.5% C 0.085 H 237.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#407DA2
RGBrgb(64, 125, 162)
HSLhsl(203, 43%, 44%)
HSVhsv(203, 60%, 64%)
CMYKcmyk(60.5%, 22.8%, 0%, 36.5%)
CIE-LABlab(49.94, -8.31, -25.73)
CIE-LCHlch(49.94, 27.04, 252.09°)
OKLaboklab(56.47% -0.0458 -0.072)
OKLCHoklch(56.47% 0.085 237.5)
XYZxyz(15.9671, 18.3643, 36.8786)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407DA2 #A26540
analogous
#40A296 #407DA2 #404CA2
triadic
#407DA2 #A2407D #7DA240
tetradic
#407DA2 #9640A2 #A26540 #4CA240
square
#407DA2 #9640A2 #A26540 #4CA240
split-complementary
#407DA2 #A2404C #A29640
monochromatic
#1D394A #2F5B76 #407DA2 #5F9BC0 #8BB7D1

Accessibility & contrast

On white

4.49
#407DA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#407DA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407DA2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407DA2#FFFFFF#000000##000000
##407DA21.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7CA4
Deuteranopia (green-blind)
#5E72A1
Tritanopia (blue-blind)
#008689
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #407da2;
/* rgb */ color: rgb(64, 125, 162);
/* oklch */ color: oklch(56.5% 0.085 237.5);
Tailwind
colors: {
  custom: {
    50: '#7ea2bd',
    500: '#407da2',
    950: '#000000',
  },
}
SCSS
$custom: #407da2;
$custom-light: #7ea2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#407da2",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 162
  },
  "hsl": {
    "h": 202.653,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.56471,
    "c": 0.08539,
    "h": 237.5
  },
  "luminance": 0.18366
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #407DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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