#407ECB#407ECB

#407ECB is a mid, vivid cyan. Relative luminance 0.203; OKLCH L 58.9% C 0.135 H 255.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#407ECB
RGBrgb(64, 126, 203)
HSLhsl(213, 57%, 52%)
HSVhsv(213, 68%, 80%)
CMYKcmyk(68.5%, 37.9%, 0%, 20.4%)
CIE-LABlab(52.20, 5.16, -45.78)
CIE-LCHlch(52.20, 46.07, 276.44°)
OKLaboklab(58.9% -0.0347 -0.1303)
OKLCHoklch(58.9% 0.135 255.1)
XYZxyz(20.3508, 20.3214, 59.3382)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407ECB #CB8D40
analogous
#40C4CB #407ECB #4740CB
triadic
#407ECB #CB407E #7ECB40
tetradic
#407ECB #CB40C4 #CB8D40 #40CB47
square
#407ECB #CB40C4 #CB8D40 #40CB47
split-complementary
#407ECB #CB4740 #C4CB40
monochromatic
#1F4472 #2C61A2 #407ECB #709ED8 #A0BFE5

Accessibility & contrast

On white

4.15
#407ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#407ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407ECB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407ECB#FFFFFF#000000##000000
##407ECB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B84CE
Deuteranopia (green-blind)
#4777C9
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #407ecb;
/* rgb */ color: rgb(64, 126, 203);
/* oklch */ color: oklch(58.9% 0.135 255.1);
Tailwind
colors: {
  custom: {
    50: '#84a2db',
    500: '#407ecb',
    950: '#000000',
  },
}
SCSS
$custom: #407ecb;
$custom-light: #84a2db;
$custom-dark: #000000;
JSON
{
  "hex": "#407ecb",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 213.237,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58896,
    "c": 0.13482,
    "h": 255.1
  },
  "luminance": 0.20323
}

Semantic roles & 50–950 ramp

primary
#407ECB
secondary
#D2B795
accent
#9C47E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #407ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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