#4278CF#4278CF

#4278CF is a mid, vivid blue. Relative luminance 0.191; OKLCH L 57.9% C 0.146 H 259.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4278CF
RGBrgb(66, 120, 207)
HSLhsl(217, 59%, 54%)
HSVhsv(217, 68%, 81%)
CMYKcmyk(68.1%, 42%, 0%, 18.8%)
CIE-LABlab(50.80, 10.57, -50.28)
CIE-LCHlch(50.80, 51.38, 281.87°)
OKLaboklab(57.9% -0.0266 -0.1435)
OKLCHoklch(57.9% 0.146 259.5)
XYZxyz(20.2217, 19.0941, 61.6392)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4278CF #CF9942
analogous
#42BFCF #4278CF #5242CF
triadic
#4278CF #CF4278 #78CF42
tetradic
#4278CF #CF42BF #CF9942 #42CF52
square
#4278CF #CF42BF #CF9942 #42CF52
split-complementary
#4278CF #CF5242 #BFCF42
monochromatic
#1F4178 #2B5BA9 #4278CF #739BDB #A4BEE8

Accessibility & contrast

On white

4.36
#4278CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4278CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4278CF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4278CF#FFFFFF#000000##000000
##4278CF1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F80D2
Deuteranopia (green-blind)
#3873CD
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4278cf;
/* rgb */ color: rgb(66, 120, 207);
/* oklch */ color: oklch(57.9% 0.146 259.5);
Tailwind
colors: {
  custom: {
    50: '#869ede',
    500: '#4278cf',
    950: '#000000',
  },
}
SCSS
$custom: #4278cf;
$custom-light: #869ede;
$custom-dark: #000000;
JSON
{
  "hex": "#4278cf",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 217.021,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57901,
    "c": 0.14598,
    "h": 259.5
  },
  "luminance": 0.19096
}

Semantic roles & 50–950 ramp

primary
#4278CF
secondary
#D5BD98
accent
#A645E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4278CF

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

Preview Lab → · Contrast checker → · Palette generator →

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