#4278D2#4278D2

#4278D2 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.1% C 0.150 H 260.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4278D2
RGBrgb(66, 120, 210)
HSLhsl(218, 62%, 54%)
HSVhsv(218, 69%, 82%)
CMYKcmyk(68.6%, 42.9%, 0%, 17.6%)
CIE-LABlab(50.97, 11.64, -51.71)
CIE-LCHlch(50.97, 53.00, 282.69°)
OKLaboklab(58.09% -0.026 -0.1477)
OKLCHoklch(58.09% 0.15 260)
XYZxyz(20.5919, 19.2422, 63.5892)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4278D2 #D29C42
analogous
#42C0D2 #4278D2 #5442D2
triadic
#4278D2 #D24278 #78D242
tetradic
#4278D2 #D242C0 #D29C42 #42D254
square
#4278D2 #D242C0 #D29C42 #42D254
split-complementary
#4278D2 #D25442 #C0D242
monochromatic
#1E417C #295BAD #4278D2 #739BDE #A5BFEA

Accessibility & contrast

On white

4.33
#4278D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#4278D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4278D2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4278D2#FFFFFF#000000##000000
##4278D21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D81D5
Deuteranopia (green-blind)
#3473D0
Tritanopia (blue-blind)
#008D9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4278d2;
/* rgb */ color: rgb(66, 120, 210);
/* oklch */ color: oklch(58.1% 0.150 260.0);
Tailwind
colors: {
  custom: {
    50: '#869ee0',
    500: '#4278d2',
    950: '#000000',
  },
}
SCSS
$custom: #4278d2;
$custom-light: #869ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#4278d2",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 210
  },
  "hsl": {
    "h": 217.5,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5809,
    "c": 0.15001,
    "h": 260
  },
  "luminance": 0.19244
}

Semantic roles & 50–950 ramp

primary
#4278D2
secondary
#D7C099
accent
#A843E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4278D2

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

Preview Lab → · Contrast checker → · Palette generator →

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