#4278C8#4278C8

#4278C8 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.5% C 0.137 H 258.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4278C8
RGBrgb(66, 120, 200)
HSLhsl(216, 55%, 52%)
HSVhsv(216, 67%, 78%)
CMYKcmyk(67%, 40%, 0%, 21.6%)
CIE-LABlab(50.40, 8.09, -46.92)
CIE-LCHlch(50.40, 47.61, 279.78°)
OKLaboklab(57.47% -0.028 -0.1337)
OKLCHoklch(57.47% 0.137 258.2)
XYZxyz(19.3848, 18.7594, 57.2317)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4278C8 #C89242
analogous
#42BBC8 #4278C8 #4F42C8
triadic
#4278C8 #C84278 #78C842
tetradic
#4278C8 #C842BB #C89242 #42C84F
square
#4278C8 #C842BB #C89242 #42C84F
split-complementary
#4278C8 #C84F42 #BBC842
monochromatic
#20406F #2E5B9F #4278C8 #719AD6 #A1BCE4

Accessibility & contrast

On white

4.42
#4278C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4278C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4278C8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4278C8#FFFFFF#000000##000000
##4278C81.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#547FCB
Deuteranopia (green-blind)
#3F72C6
Tritanopia (blue-blind)
#008A96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4278c8;
/* rgb */ color: rgb(66, 120, 200);
/* oklch */ color: oklch(57.5% 0.137 258.2);
Tailwind
colors: {
  custom: {
    50: '#849ed9',
    500: '#4278c8',
    950: '#000000',
  },
}
SCSS
$custom: #4278c8;
$custom-light: #849ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#4278c8",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 200
  },
  "hsl": {
    "h": 215.821,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57469,
    "c": 0.13657,
    "h": 258.2
  },
  "luminance": 0.18761
}

Semantic roles & 50–950 ramp

primary
#4278C8
secondary
#D0B996
accent
#A24ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4278C8

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

Preview Lab → · Contrast checker → · Palette generator →

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