#407FBE#407FBE

#407FBE is a mid, moderate cyan. Relative luminance 0.200; OKLCH L 58.4% C 0.117 H 250.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#407FBE
RGBrgb(64, 127, 190)
HSLhsl(210, 50%, 50%)
HSVhsv(210, 66%, 75%)
CMYKcmyk(66.3%, 33.2%, 0%, 25.5%)
CIE-LABlab(51.82, -0.00, -38.96)
CIE-LCHlch(51.82, 38.96, 270.00°)
OKLaboklab(58.38% -0.0391 -0.1103)
OKLCHoklch(58.38% 0.117 250.5)
XYZxyz(18.9946, 19.9845, 51.5616)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FBE #BE7F40
analogous
#40BEBE #407FBE #4040BE
triadic
#407FBE #BE407F #7FBE40
tetradic
#407FBE #BE40BE #BE7F40 #40BE40
square
#407FBE #BE40BE #BE7F40 #40BE40
split-complementary
#407FBE #BE4040 #BEBE40
monochromatic
#214262 #316090 #407FBE #6D9ECE #9BBCDD

Accessibility & contrast

On white

4.20
#407FBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#407FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FBE
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FBE#FFFFFF#000000##000000
##407FBE1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6382C1
Deuteranopia (green-blind)
#5276BD
Tritanopia (blue-blind)
#008E96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #407fbe;
/* rgb */ color: rgb(64, 127, 190);
/* oklch */ color: oklch(58.4% 0.117 250.5);
Tailwind
colors: {
  custom: {
    50: '#82a3d2',
    500: '#407fbe',
    950: '#000000',
  },
}
SCSS
$custom: #407fbe;
$custom-light: #82a3d2;
$custom-dark: #000000;
JSON
{
  "hex": "#407fbe",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 190
  },
  "hsl": {
    "h": 210,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58382,
    "c": 0.11704,
    "h": 250.5
  },
  "luminance": 0.19986
}

Semantic roles & 50–950 ramp

primary
#407FBE
secondary
#C9AD90
accent
#944FD9
background
#F8FAFC
surface
#F0F3F9
border
#CBCDD2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #407FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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