#4278D5#4278D5

#4278D5 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.3% C 0.154 H 260.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4278D5
RGBrgb(66, 120, 213)
HSLhsl(218, 64%, 55%)
HSVhsv(218, 69%, 84%)
CMYKcmyk(69%, 43.7%, 0%, 16.5%)
CIE-LABlab(51.14, 12.71, -53.13)
CIE-LCHlch(51.14, 54.63, 283.45°)
OKLaboklab(58.28% -0.0254 -0.1519)
OKLCHoklch(58.28% 0.154 260.5)
XYZxyz(20.9692, 19.3931, 65.5760)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4278D5 #D59F42
analogous
#42C2D5 #4278D5 #5642D5
triadic
#4278D5 #D54278 #78D542
tetradic
#4278D5 #D542C2 #D59F42 #42D556
square
#4278D5 #D542C2 #D59F42 #42D556
split-complementary
#4278D5 #D55642 #C2D542
monochromatic
#1C4180 #285BB2 #4278D5 #749CE0 #A6C0EB

Accessibility & contrast

On white

4.30
#4278D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#4278D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4278D5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4278D5#FFFFFF#000000##000000
##4278D51.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B81D9
Deuteranopia (green-blind)
#3074D3
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4278d5;
/* rgb */ color: rgb(66, 120, 213);
/* oklch */ color: oklch(58.3% 0.154 260.5);
Tailwind
colors: {
  custom: {
    50: '#879ee2',
    500: '#4278d5',
    950: '#000000',
  },
}
SCSS
$custom: #4278d5;
$custom-light: #879ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#4278d5",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 213
  },
  "hsl": {
    "h": 217.959,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58281,
    "c": 0.15403,
    "h": 260.5
  },
  "luminance": 0.19395
}

Semantic roles & 50–950 ramp

primary
#4278D5
secondary
#D8C29A
accent
#AA41E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4278D5

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

Preview Lab → · Contrast checker → · Palette generator →

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