#407ABF#407ABF

#407ABF is a mid, vivid cyan. Relative luminance 0.188; OKLCH L 57.3% C 0.123 H 254.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#407ABF
RGBrgb(64, 122, 191)
HSLhsl(213, 50%, 50%)
HSVhsv(213, 66%, 75%)
CMYKcmyk(66.5%, 36.1%, 0%, 25.1%)
CIE-LABlab(50.42, 3.36, -41.75)
CIE-LCHlch(50.42, 41.88, 274.60°)
OKLaboklab(57.3% -0.0337 -0.1185)
OKLCHoklch(57.3% 0.123 254.1)
XYZxyz(18.4744, 18.7688, 51.9292)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407ABF #BF8540
analogous
#40BABF #407ABF #4540BF
triadic
#407ABF #BF407A #7ABF40
tetradic
#407ABF #BF40BA #BF8540 #40BF45
square
#407ABF #BF40BA #BF8540 #40BF45
split-complementary
#407ABF #BF4540 #BABF40
monochromatic
#213F63 #315D91 #407ABF #6E9ACE #9CBADE

Accessibility & contrast

On white

4.42
#407ABF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#407ABF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407ABF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407ABF#FFFFFF#000000##000000
##407ABF1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7FC2
Deuteranopia (green-blind)
#4A73BE
Tritanopia (blue-blind)
#008A93
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #407abf;
/* rgb */ color: rgb(64, 122, 191);
/* oklch */ color: oklch(57.3% 0.123 254.1);
Tailwind
colors: {
  custom: {
    50: '#82a0d2',
    500: '#407abf',
    950: '#000000',
  },
}
SCSS
$custom: #407abf;
$custom-light: #82a0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#407abf",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 191
  },
  "hsl": {
    "h": 212.598,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.57299,
    "c": 0.12324,
    "h": 254.1
  },
  "luminance": 0.18771
}

Semantic roles & 50–950 ramp

primary
#407ABF
secondary
#CAB091
accent
#9A4ED9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #407ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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