#4270DC#4270DC

#4270DC is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.1% C 0.173 H 264.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#4270DC
RGBrgb(66, 112, 220)
HSLhsl(222, 69%, 56%)
HSVhsv(222, 70%, 86%)
CMYKcmyk(70%, 49.1%, 0%, 13.7%)
CIE-LABlab(49.39, 20.21, -59.91)
CIE-LCHlch(49.39, 63.23, 288.64°)
OKLaboklab(57.07% -0.0173 -0.172)
OKLCHoklch(57.07% 0.173 264.3)
XYZxyz(20.9547, 17.9117, 70.0492)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4270DC #DCAE42
analogous
#42BDDC #4270DC #6142DC
triadic
#4270DC #DC4270 #70DC42
tetradic
#4270DC #DC42BD #DCAE42 #42DC61
square
#4270DC #DC42BD #DCAE42 #42DC61
split-complementary
#4270DC #DC6142 #BDDC42
monochromatic
#1A3B8A #2351BE #4270DC #7697E6 #A9BEEF

Accessibility & contrast

On white

4.58
#4270DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#4270DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4270DC
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4270DC#FFFFFF#000000##000000
##4270DC1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#327DE0
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4270dc;
/* rgb */ color: rgb(66, 112, 220);
/* oklch */ color: oklch(57.1% 0.173 264.3);
Tailwind
colors: {
  custom: {
    50: '#8898e7',
    500: '#4270dc',
    950: '#000000',
  },
}
SCSS
$custom: #4270dc;
$custom-light: #8898e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4270dc",
  "rgb": {
    "r": 66,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 222.078,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57073,
    "c": 0.17285,
    "h": 264.3
  },
  "luminance": 0.17914
}

Semantic roles & 50–950 ramp

primary
#4270DC
secondary
#DDCA9D
accent
#B73CEC
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4270DC

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

Preview Lab → · Contrast checker → · Palette generator →

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