#4270D7#4270D7

#4270D7 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.7% C 0.166 H 263.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4270D7
RGBrgb(66, 112, 215)
HSLhsl(221, 65%, 55%)
HSVhsv(221, 69%, 84%)
CMYKcmyk(69.3%, 47.9%, 0%, 15.7%)
CIE-LABlab(49.07, 18.41, -57.60)
CIE-LCHlch(49.07, 60.47, 287.73°)
OKLaboklab(56.73% -0.0179 -0.1652)
OKLCHoklch(56.73% 0.166 263.8)
XYZxyz(20.3024, 17.6508, 66.6138)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4270D7 #D7A942
analogous
#42BAD7 #4270D7 #5F42D7
triadic
#4270D7 #D74270 #70D742
tetradic
#4270D7 #D742BA #D7A942 #42D75F
square
#4270D7 #D742BA #D7A942 #42D75F
split-complementary
#4270D7 #D75F42 #BAD742
monochromatic
#1C3C83 #2653B5 #4270D7 #7596E2 #A7BCEC

Accessibility & contrast

On white

4.64
#4270D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#4270D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4270D7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4270D7#FFFFFF#000000##FFFFFF
##4270D71.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#387CDB
Deuteranopia (green-blind)
#0E6ED5
Tritanopia (blue-blind)
#008899
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4270d7;
/* rgb */ color: rgb(66, 112, 215);
/* oklch */ color: oklch(56.7% 0.166 263.8);
Tailwind
colors: {
  custom: {
    50: '#8798e4',
    500: '#4270d7',
    950: '#000000',
  },
}
SCSS
$custom: #4270d7;
$custom-light: #8798e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4270d7",
  "rgb": {
    "r": 66,
    "g": 112,
    "b": 215
  },
  "hsl": {
    "h": 221.477,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56727,
    "c": 0.16614,
    "h": 263.8
  },
  "luminance": 0.17653
}

Semantic roles & 50–950 ramp

primary
#4270D7
secondary
#DAC69B
accent
#B440E8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4270D7

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

Preview Lab → · Contrast checker → · Palette generator →

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