#407BCA#407BCA

#407BCA is a mid, vivid cyan. Relative luminance 0.195; OKLCH L 58.2% C 0.137 H 256.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#407BCA
RGBrgb(64, 123, 202)
HSLhsl(214, 57%, 52%)
HSVhsv(214, 68%, 79%)
CMYKcmyk(68.3%, 39.1%, 0%, 20.8%)
CIE-LABlab(51.29, 6.64, -46.66)
CIE-LCHlch(51.29, 47.13, 278.09°)
OKLaboklab(58.17% -0.032 -0.1329)
OKLCHoklch(58.17% 0.137 256.5)
XYZxyz(19.8541, 19.5181, 58.5867)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BCA #CA8F40
analogous
#40C0CA #407BCA #4A40CA
triadic
#407BCA #CA407B #7BCA40
tetradic
#407BCA #CA40C0 #CA8F40 #40CA4A
square
#407BCA #CA40C0 #CA8F40 #40CA4A
split-complementary
#407BCA #CA4A40 #C0CA40
monochromatic
#1F4270 #2C5EA0 #407BCA #709CD7 #A0BDE5

Accessibility & contrast

On white

4.28
#407BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#407BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BCA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BCA#FFFFFF#000000##000000
##407BCA1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5781CD
Deuteranopia (green-blind)
#4274C8
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407bca;
/* rgb */ color: rgb(64, 123, 202);
/* oklch */ color: oklch(58.2% 0.137 256.5);
Tailwind
colors: {
  custom: {
    50: '#84a0da',
    500: '#407bca',
    950: '#000000',
  },
}
SCSS
$custom: #407bca;
$custom-light: #84a0da;
$custom-dark: #000000;
JSON
{
  "hex": "#407bca",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 202
  },
  "hsl": {
    "h": 214.348,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5817,
    "c": 0.13669,
    "h": 256.5
  },
  "luminance": 0.1952
}

Semantic roles & 50–950 ramp

primary
#407BCA
secondary
#D1B795
accent
#9F48E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #407BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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