#4270D8#4270D8

#4270D8 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.8% C 0.167 H 263.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4270D8
RGBrgb(66, 112, 216)
HSLhsl(222, 66%, 55%)
HSVhsv(222, 69%, 85%)
CMYKcmyk(69.4%, 48.1%, 0%, 15.3%)
CIE-LABlab(49.13, 18.77, -58.06)
CIE-LCHlch(49.13, 61.02, 287.92°)
OKLaboklab(56.8% -0.0178 -0.1665)
OKLCHoklch(56.8% 0.167 263.9)
XYZxyz(20.4312, 17.7024, 67.2926)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4270D8 #D8AA42
analogous
#42BBD8 #4270D8 #5F42D8
triadic
#4270D8 #D84270 #70D842
tetradic
#4270D8 #D842BB #D8AA42 #42D85F
square
#4270D8 #D842BB #D8AA42 #42D85F
split-complementary
#4270D8 #D85F42 #BBD842
monochromatic
#1B3B84 #2652B7 #4270D8 #7596E2 #A7BDED

Accessibility & contrast

On white

4.62
#4270D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#4270D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4270D8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4270D8#FFFFFF#000000##FFFFFF
##4270D81.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#377CDC
Deuteranopia (green-blind)
#0A6ED6
Tritanopia (blue-blind)
#00889A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4270d8;
/* rgb */ color: rgb(66, 112, 216);
/* oklch */ color: oklch(56.8% 0.167 263.9);
Tailwind
colors: {
  custom: {
    50: '#8798e5',
    500: '#4270d8',
    950: '#000000',
  },
}
SCSS
$custom: #4270d8;
$custom-light: #8798e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4270d8",
  "rgb": {
    "r": 66,
    "g": 112,
    "b": 216
  },
  "hsl": {
    "h": 221.6,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56796,
    "c": 0.16748,
    "h": 263.9
  },
  "luminance": 0.17704
}

Semantic roles & 50–950 ramp

primary
#4270D8
secondary
#DAC79C
accent
#B53FE9
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4270D8

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

Preview Lab → · Contrast checker → · Palette generator →

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