#427AD7#427AD7

#427AD7 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.8% C 0.154 H 260.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#427AD7
RGBrgb(66, 122, 215)
HSLhsl(217, 65%, 55%)
HSVhsv(217, 69%, 84%)
CMYKcmyk(69.3%, 43.3%, 0%, 15.7%)
CIE-LABlab(51.82, 12.19, -53.19)
CIE-LCHlch(51.82, 54.57, 282.91°)
OKLaboklab(58.84% -0.0269 -0.152)
OKLCHoklch(58.84% 0.154 260)
XYZxyz(21.4676, 19.9814, 67.0022)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427AD7 #D79F42
analogous
#42C4D7 #427AD7 #5542D7
triadic
#427AD7 #D7427A #7AD742
tetradic
#427AD7 #D742C4 #D79F42 #42D755
square
#427AD7 #D742C4 #D79F42 #42D755
split-complementary
#427AD7 #D75542 #C4D742
monochromatic
#1C4283 #265CB5 #427AD7 #759EE2 #A7C1EC

Accessibility & contrast

On white

4.20
#427AD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#427AD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #427AD7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427AD7#FFFFFF#000000##000000
##427AD71.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)
#4D83DB
Deuteranopia (green-blind)
#3375D5
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #427ad7;
/* rgb */ color: rgb(66, 122, 215);
/* oklch */ color: oklch(58.8% 0.154 260.0);
Tailwind
colors: {
  custom: {
    50: '#879fe4',
    500: '#427ad7',
    950: '#000000',
  },
}
SCSS
$custom: #427ad7;
$custom-light: #879fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#427ad7",
  "rgb": {
    "r": 66,
    "g": 122,
    "b": 215
  },
  "hsl": {
    "h": 217.45,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58838,
    "c": 0.15441,
    "h": 260
  },
  "luminance": 0.19984
}

Semantic roles & 50–950 ramp

primary
#427AD7
secondary
#DAC29B
accent
#A940E8
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0E15
muted
#7D7E84

Preview Lab

Preview with #427AD7

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

Preview Lab → · Contrast checker → · Palette generator →

#427AD7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva