#407DB8#407DB8

#407DB8 is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.6% C 0.111 H 249.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#407DB8
RGBrgb(64, 125, 184)
HSLhsl(210, 48%, 49%)
HSVhsv(210, 65%, 72%)
CMYKcmyk(65.2%, 32.1%, 0%, 27.8%)
CIE-LABlab(50.94, -0.89, -36.90)
CIE-LCHlch(50.94, 36.91, 268.62°)
OKLaboklab(57.59% -0.0387 -0.1044)
OKLCHoklch(57.59% 0.111 249.6)
XYZxyz(18.0965, 19.2161, 48.0935)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407DB8 #B87B40
analogous
#40B8B7 #407DB8 #4041B8
triadic
#407DB8 #B8407D #7DB840
tetradic
#407DB8 #B740B8 #B87B40 #41B840
square
#407DB8 #B740B8 #B87B40 #41B840
split-complementary
#407DB8 #B84041 #B8B740
monochromatic
#203F5D #305E8B #407DB8 #6A9BCB #97BADB

Accessibility & contrast

On white

4.34
#407DB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#407DB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407DB8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407DB8#FFFFFF#000000##000000
##407DB81.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6380BB
Deuteranopia (green-blind)
#5374B7
Tritanopia (blue-blind)
#008B92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #407db8;
/* rgb */ color: rgb(64, 125, 184);
/* oklch */ color: oklch(57.6% 0.111 249.6);
Tailwind
colors: {
  custom: {
    50: '#81a2cd',
    500: '#407db8',
    950: '#000000',
  },
}
SCSS
$custom: #407db8;
$custom-light: #81a2cd;
$custom-dark: #000000;
JSON
{
  "hex": "#407db8",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 184
  },
  "hsl": {
    "h": 209.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57594,
    "c": 0.11131,
    "h": 249.6
  },
  "luminance": 0.19218
}

Semantic roles & 50–950 ramp

primary
#407DB8
secondary
#C7A98D
accent
#9350D8
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0F13
muted
#7C7E82

Preview Lab

Preview with #407DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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