#4270C8#4270C8

#4270C8 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.7% C 0.146 H 262.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4270C8
RGBrgb(66, 112, 200)
HSLhsl(219, 55%, 52%)
HSVhsv(219, 67%, 78%)
CMYKcmyk(67%, 44%, 0%, 21.6%)
CIE-LABlab(48.15, 13.05, -50.51)
CIE-LCHlch(48.15, 52.17, 284.49°)
OKLaboklab(55.73% -0.0203 -0.1443)
OKLCHoklch(55.73% 0.146 262)
XYZxyz(18.4626, 16.9149, 56.9243)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4270C8 #C89A42
analogous
#42B3C8 #4270C8 #5742C8
triadic
#4270C8 #C84270 #70C842
tetradic
#4270C8 #C842B3 #C89A42 #42C857
square
#4270C8 #C842B3 #C89A42 #42C857
split-complementary
#4270C8 #C85742 #B3C842
monochromatic
#203B6F #2E559F #4270C8 #7194D6 #A1B8E4

Accessibility & contrast

On white

4.79
#4270C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#4270C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4270C8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4270C8#FFFFFF#000000##FFFFFF
##4270C81.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4679CB
Deuteranopia (green-blind)
#2E6DC6
Tritanopia (blue-blind)
#008492
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4270c8;
/* rgb */ color: rgb(66, 112, 200);
/* oklch */ color: oklch(55.7% 0.146 262.0);
Tailwind
colors: {
  custom: {
    50: '#8498d9',
    500: '#4270c8',
    950: '#000000',
  },
}
SCSS
$custom: #4270c8;
$custom-light: #8498d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4270c8",
  "rgb": {
    "r": 66,
    "g": 112,
    "b": 200
  },
  "hsl": {
    "h": 219.403,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55728,
    "c": 0.14575,
    "h": 262
  },
  "luminance": 0.16917
}

Semantic roles & 50–950 ramp

primary
#4270C8
secondary
#D0BC96
accent
#AB4ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4270C8

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

Preview Lab → · Contrast checker → · Palette generator →

#4270C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva