#407BE3#407BE3

#407BE3 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.8% C 0.170 H 260.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#407BE3
RGBrgb(64, 123, 227)
HSLhsl(218, 74%, 57%)
HSVhsv(218, 72%, 89%)
CMYKcmyk(71.8%, 45.8%, 0%, 11%)
CIE-LABlab(52.73, 15.59, -58.49)
CIE-LCHlch(52.73, 60.53, 284.92°)
OKLaboklab(59.75% -0.0272 -0.1676)
OKLCHoklch(59.75% 0.17 260.8)
XYZxyz(23.0575, 20.7995, 75.4577)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BE3 #E3A840
analogous
#40CDE3 #407BE3 #5740E3
triadic
#407BE3 #E3407B #7BE340
tetradic
#407BE3 #E340CD #E3A840 #40E357
square
#407BE3 #E340CD #E3A840 #40E357
split-complementary
#407BE3 #E35740 #CDE340
monochromatic
#164393 #1D5BC8 #407BE3 #75A0EB #ABC5F3

Accessibility & contrast

On white

4.07
#407BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#407BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BE3
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BE3#FFFFFF#000000##000000
##407BE31.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4586E7
Deuteranopia (green-blind)
#2077E1
Tritanopia (blue-blind)
#0093A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #407be3;
/* rgb */ color: rgb(64, 123, 227);
/* oklch */ color: oklch(59.8% 0.170 260.8);
Tailwind
colors: {
  custom: {
    50: '#88a0ec',
    500: '#407be3',
    950: '#000000',
  },
}
SCSS
$custom: #407be3;
$custom-light: #88a0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#407be3",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 227
  },
  "hsl": {
    "h": 218.282,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59751,
    "c": 0.16984,
    "h": 260.8
  },
  "luminance": 0.20802
}

Semantic roles & 50–950 ramp

primary
#407BE3
secondary
#E1C99E
accent
#AE37F1
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #407BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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