#4278CA#4278CA

#4278CA is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.6% C 0.139 H 258.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4278CA
RGBrgb(66, 120, 202)
HSLhsl(216, 56%, 53%)
HSVhsv(216, 67%, 79%)
CMYKcmyk(67.3%, 40.6%, 0%, 20.8%)
CIE-LABlab(50.52, 8.80, -47.88)
CIE-LCHlch(50.52, 48.68, 280.41°)
OKLaboklab(57.59% -0.0276 -0.1365)
OKLCHoklch(57.59% 0.139 258.6)
XYZxyz(19.6201, 18.8535, 58.4708)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4278CA #CA9442
analogous
#42BCCA #4278CA #5042CA
triadic
#4278CA #CA4278 #78CA42
tetradic
#4278CA #CA42BC #CA9442 #42CA50
square
#4278CA #CA42BC #CA9442 #42CA50
split-complementary
#4278CA #CA5042 #BCCA42
monochromatic
#204072 #2D5BA2 #4278CA #729AD7 #A2BCE5

Accessibility & contrast

On white

4.40
#4278CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#4278CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4278CA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4278CA#FFFFFF#000000##000000
##4278CA1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4278ca;
/* rgb */ color: rgb(66, 120, 202);
/* oklch */ color: oklch(57.6% 0.139 258.6);
Tailwind
colors: {
  custom: {
    50: '#859eda',
    500: '#4278ca',
    950: '#000000',
  },
}
SCSS
$custom: #4278ca;
$custom-light: #859eda;
$custom-dark: #000000;
JSON
{
  "hex": "#4278ca",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 216.176,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57591,
    "c": 0.13926,
    "h": 258.6
  },
  "luminance": 0.18855
}

Semantic roles & 50–950 ramp

primary
#4278CA
secondary
#D1BA96
accent
#A348DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4278CA

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

Preview Lab → · Contrast checker → · Palette generator →

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