#407FA2#407FA2

#407FA2 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.0% C 0.084 H 235.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#407FA2
RGBrgb(64, 127, 162)
HSLhsl(201, 43%, 44%)
HSVhsv(201, 60%, 64%)
CMYKcmyk(60.5%, 21.6%, 0%, 36.5%)
CIE-LABlab(50.54, -9.46, -24.79)
CIE-LCHlch(50.54, 26.54, 249.11°)
OKLaboklab(56.95% -0.0481 -0.0693)
OKLCHoklch(56.95% 0.084 235.2)
XYZxyz(16.2228, 18.8758, 36.9639)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FA2 #A26340
analogous
#40A294 #407FA2 #404EA2
triadic
#407FA2 #A2407F #7FA240
tetradic
#407FA2 #9440A2 #A26340 #4EA240
square
#407FA2 #9440A2 #A26340 #4EA240
split-complementary
#407FA2 #A2404E #A29440
monochromatic
#1D3A4A #2F5D76 #407FA2 #5F9DC0 #8BB8D1

Accessibility & contrast

On white

4.40
#407FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#407FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FA2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FA2#FFFFFF#000000##000000
##407FA21.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7EA4
Deuteranopia (green-blind)
#6174A1
Tritanopia (blue-blind)
#00888B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #407fa2;
/* rgb */ color: rgb(64, 127, 162);
/* oklch */ color: oklch(57.0% 0.084 235.2);
Tailwind
colors: {
  custom: {
    50: '#7ea4bd',
    500: '#407fa2',
    950: '#000000',
  },
}
SCSS
$custom: #407fa2;
$custom-light: #7ea4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#407fa2",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 201.429,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.56952,
    "c": 0.0844,
    "h": 235.2
  },
  "luminance": 0.18877
}

Semantic roles & 50–950 ramp

primary
#407FA2
secondary
#BC9782
accent
#8255D3
background
#F8FAFB
surface
#EFF4F6
border
#CACED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #407FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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