#4278CB#4278CB

#4278CB is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.7% C 0.141 H 258.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4278CB
RGBrgb(66, 120, 203)
HSLhsl(216, 57%, 53%)
HSVhsv(216, 67%, 80%)
CMYKcmyk(67.5%, 40.9%, 0%, 20.4%)
CIE-LABlab(50.57, 9.15, -48.36)
CIE-LCHlch(50.57, 49.22, 280.71°)
OKLaboklab(57.65% -0.0274 -0.1379)
OKLCHoklch(57.65% 0.141 258.8)
XYZxyz(19.7389, 18.9010, 59.0963)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4278CB #CB9542
analogous
#42BDCB #4278CB #5042CB
triadic
#4278CB #CB4278 #78CB42
tetradic
#4278CB #CB42BD #CB9542 #42CB50
square
#4278CB #CB42BD #CB9542 #42CB50
split-complementary
#4278CB #CB5042 #BDCB42
monochromatic
#204073 #2D5BA3 #4278CB #729AD8 #A2BDE5

Accessibility & contrast

On white

4.39
#4278CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4278CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4278CB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4278CB#FFFFFF#000000##000000
##4278CB1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#527FCE
Deuteranopia (green-blind)
#3C73C9
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4278cb;
/* rgb */ color: rgb(66, 120, 203);
/* oklch */ color: oklch(57.7% 0.141 258.8);
Tailwind
colors: {
  custom: {
    50: '#859edb',
    500: '#4278cb',
    950: '#000000',
  },
}
SCSS
$custom: #4278cb;
$custom-light: #859edb;
$custom-dark: #000000;
JSON
{
  "hex": "#4278cb",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 216.35,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57653,
    "c": 0.1406,
    "h": 258.8
  },
  "luminance": 0.18903
}

Semantic roles & 50–950 ramp

primary
#4278CB
secondary
#D2BB97
accent
#A448E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4278CB

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

Preview Lab → · Contrast checker → · Palette generator →

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