#4278C5#4278C5

#4278C5 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.3% C 0.133 H 257.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4278C5
RGBrgb(66, 120, 197)
HSLhsl(215, 53%, 52%)
HSVhsv(215, 66%, 77%)
CMYKcmyk(66.5%, 39.1%, 0%, 22.7%)
CIE-LABlab(50.24, 7.03, -45.46)
CIE-LCHlch(50.24, 46.00, 278.79°)
OKLaboklab(57.29% -0.0287 -0.1294)
OKLCHoklch(57.29% 0.133 257.5)
XYZxyz(19.0377, 18.6205, 55.4033)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4278C5 #C58F42
analogous
#42BAC5 #4278C5 #4E42C5
triadic
#4278C5 #C54278 #78C542
tetradic
#4278C5 #C542BA #C58F42 #42C54E
square
#4278C5 #C542BA #C58F42 #42C54E
split-complementary
#4278C5 #C54E42 #BAC542
monochromatic
#21406C #2F5C9A #4278C5 #7199D3 #A0BBE2

Accessibility & contrast

On white

4.45
#4278C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4278C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4278C5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4278C5#FFFFFF#000000##000000
##4278C51.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#557EC8
Deuteranopia (green-blind)
#4272C3
Tritanopia (blue-blind)
#008A95
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4278c5;
/* rgb */ color: rgb(66, 120, 197);
/* oklch */ color: oklch(57.3% 0.133 257.5);
Tailwind
colors: {
  custom: {
    50: '#849ed7',
    500: '#4278c5',
    950: '#000000',
  },
}
SCSS
$custom: #4278c5;
$custom-light: #849ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#4278c5",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 197
  },
  "hsl": {
    "h": 215.267,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57288,
    "c": 0.13254,
    "h": 257.5
  },
  "luminance": 0.18622
}

Semantic roles & 50–950 ramp

primary
#4278C5
secondary
#CEB695
accent
#A14BDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4278C5

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

Preview Lab → · Contrast checker → · Palette generator →

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