#4278CE#4278CE

#4278CE is a mid, vivid blue. Relative luminance 0.190; OKLCH L 57.8% C 0.145 H 259.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4278CE
RGBrgb(66, 120, 206)
HSLhsl(217, 59%, 53%)
HSVhsv(217, 68%, 81%)
CMYKcmyk(68%, 41.7%, 0%, 19.2%)
CIE-LABlab(50.74, 10.22, -49.80)
CIE-LCHlch(50.74, 50.84, 281.59°)
OKLaboklab(57.84% -0.0268 -0.1421)
OKLCHoklch(57.84% 0.145 259.3)
XYZxyz(20.0998, 19.0454, 60.9974)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4278CE #CE9842
analogous
#42BECE #4278CE #5242CE
triadic
#4278CE #CE4278 #78CE42
tetradic
#4278CE #CE42BE #CE9842 #42CE52
square
#4278CE #CE42BE #CE9842 #42CE52
split-complementary
#4278CE #CE5242 #BECE42
monochromatic
#1F4177 #2B5BA7 #4278CE #739BDB #A3BDE7

Accessibility & contrast

On white

4.37
#4278CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#4278CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4278CE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4278CE#FFFFFF#000000##000000
##4278CE1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D1
Deuteranopia (green-blind)
#3973CC
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4278ce;
/* rgb */ color: rgb(66, 120, 206);
/* oklch */ color: oklch(57.8% 0.145 259.3);
Tailwind
colors: {
  custom: {
    50: '#859edd',
    500: '#4278ce',
    950: '#000000',
  },
}
SCSS
$custom: #4278ce;
$custom-light: #859edd;
$custom-dark: #000000;
JSON
{
  "hex": "#4278ce",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 216.857,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57839,
    "c": 0.14463,
    "h": 259.3
  },
  "luminance": 0.19047
}

Semantic roles & 50–950 ramp

primary
#4278CE
secondary
#D4BD98
accent
#A646E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4278CE

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

Preview Lab → · Contrast checker → · Palette generator →

#4278CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva