#427CE2#427CE2

#427CE2 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.0% C 0.167 H 260.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#427CE2
RGBrgb(66, 124, 226)
HSLhsl(218, 73%, 57%)
HSVhsv(218, 71%, 89%)
CMYKcmyk(70.8%, 45.1%, 0%, 11.4%)
CIE-LABlab(53.02, 14.89, -57.46)
CIE-LCHlch(53.02, 59.36, 284.52°)
OKLaboklab(59.97% -0.0267 -0.1646)
OKLCHoklch(59.97% 0.167 260.8)
XYZxyz(23.1770, 21.0621, 74.7807)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427CE2 #E2A842
analogous
#42CCE2 #427CE2 #5842E2
triadic
#427CE2 #E2427C #7CE242
tetradic
#427CE2 #E242CC #E2A842 #42E258
square
#427CE2 #E242CC #E2A842 #42E258
split-complementary
#427CE2 #E25842 #CCE242
monochromatic
#174493 #1F5CC8 #427CE2 #77A1EA #ACC6F2

Accessibility & contrast

On white

4.03
#427CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#427CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #427CE2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427CE2#FFFFFF#000000##000000
##427CE21.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4886E6
Deuteranopia (green-blind)
#2778E0
Tritanopia (blue-blind)
#0094A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #427ce2;
/* rgb */ color: rgb(66, 124, 226);
/* oklch */ color: oklch(60.0% 0.167 260.8);
Tailwind
colors: {
  custom: {
    50: '#89a1ec',
    500: '#427ce2',
    950: '#000000',
  },
}
SCSS
$custom: #427ce2;
$custom-light: #89a1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#427ce2",
  "rgb": {
    "r": 66,
    "g": 124,
    "b": 226
  },
  "hsl": {
    "h": 218.25,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59974,
    "c": 0.16674,
    "h": 260.8
  },
  "luminance": 0.21065
}

Semantic roles & 50–950 ramp

primary
#427CE2
secondary
#E0C99F
accent
#AD38F0
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #427CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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