#4270D6#4270D6

#4270D6 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.7% C 0.165 H 263.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4270D6
RGBrgb(66, 112, 214)
HSLhsl(221, 64%, 55%)
HSVhsv(221, 69%, 84%)
CMYKcmyk(69.2%, 47.7%, 0%, 16.1%)
CIE-LABlab(49.01, 18.05, -57.13)
CIE-LCHlch(49.01, 59.91, 287.54°)
OKLaboklab(56.66% -0.018 -0.1638)
OKLCHoklch(56.66% 0.165 263.7)
XYZxyz(20.1743, 17.5996, 65.9391)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4270D6 #D6A842
analogous
#42BAD6 #4270D6 #5E42D6
triadic
#4270D6 #D64270 #70D642
tetradic
#4270D6 #D642BA #D6A842 #42D65E
square
#4270D6 #D642BA #D6A842 #42D65E
split-complementary
#4270D6 #D65E42 #BAD642
monochromatic
#1C3C82 #2753B4 #4270D6 #7496E1 #A7BCEC

Accessibility & contrast

On white

4.65
#4270D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#4270D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4270D6
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4270D6#FFFFFF#000000##FFFFFF
##4270D61.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#397CDA
Deuteranopia (green-blind)
#126ED4
Tritanopia (blue-blind)
#008899
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4270d6;
/* rgb */ color: rgb(66, 112, 214);
/* oklch */ color: oklch(56.7% 0.165 263.7);
Tailwind
colors: {
  custom: {
    50: '#8798e3',
    500: '#4270d6',
    950: '#000000',
  },
}
SCSS
$custom: #4270d6;
$custom-light: #8798e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4270d6",
  "rgb": {
    "r": 66,
    "g": 112,
    "b": 214
  },
  "hsl": {
    "h": 221.351,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56659,
    "c": 0.16479,
    "h": 263.7
  },
  "luminance": 0.17602
}

Semantic roles & 50–950 ramp

primary
#4270D6
secondary
#D9C69B
accent
#B340E7
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0D15
muted
#7D7E84

Preview Lab

Preview with #4270D6

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

Preview Lab → · Contrast checker → · Palette generator →

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