#4270D2#4270D2

#4270D2 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.4% C 0.159 H 263.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4270D2
RGBrgb(66, 112, 210)
HSLhsl(221, 62%, 54%)
HSVhsv(221, 69%, 82%)
CMYKcmyk(68.6%, 46.7%, 0%, 17.6%)
CIE-LABlab(48.76, 16.62, -55.25)
CIE-LCHlch(48.76, 57.70, 286.74°)
OKLaboklab(56.39% -0.0186 -0.1583)
OKLCHoklch(56.39% 0.159 263.3)
XYZxyz(19.6697, 17.3977, 63.2818)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4270D2 #D2A442
analogous
#42B8D2 #4270D2 #5C42D2
triadic
#4270D2 #D24270 #70D242
tetradic
#4270D2 #D242B8 #D2A442 #42D25C
square
#4270D2 #D242B8 #D2A442 #42D25C
split-complementary
#4270D2 #D25C42 #B8D242
monochromatic
#1E3C7C #2954AD #4270D2 #7395DE #A5BBEA

Accessibility & contrast

On white

4.69
#4270D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4270D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4270D2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4270D2#FFFFFF#000000##FFFFFF
##4270D21.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D7BD6
Deuteranopia (green-blind)
#1D6ED0
Tritanopia (blue-blind)
#008797
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4270d2;
/* rgb */ color: rgb(66, 112, 210);
/* oklch */ color: oklch(56.4% 0.159 263.3);
Tailwind
colors: {
  custom: {
    50: '#8698e0',
    500: '#4270d2',
    950: '#000000',
  },
}
SCSS
$custom: #4270d2;
$custom-light: #8698e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4270d2",
  "rgb": {
    "r": 66,
    "g": 112,
    "b": 210
  },
  "hsl": {
    "h": 220.833,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56388,
    "c": 0.15937,
    "h": 263.3
  },
  "luminance": 0.174
}

Semantic roles & 50–950 ramp

primary
#4270D2
secondary
#D7C399
accent
#B143E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4270D2

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

Preview Lab → · Contrast checker → · Palette generator →

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