#4270DA#4270DA

#4270DA is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.9% C 0.170 H 264.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4270DA
RGBrgb(66, 112, 218)
HSLhsl(222, 67%, 56%)
HSVhsv(222, 70%, 85%)
CMYKcmyk(69.7%, 48.6%, 0%, 14.5%)
CIE-LABlab(49.26, 19.49, -58.99)
CIE-LCHlch(49.26, 62.13, 288.28°)
OKLaboklab(56.93% -0.0175 -0.1693)
OKLCHoklch(56.93% 0.17 264.1)
XYZxyz(20.6914, 17.8064, 68.6626)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4270DA #DAAC42
analogous
#42BCDA #4270DA #6042DA
triadic
#4270DA #DA4270 #70DA42
tetradic
#4270DA #DA42BC #DAAC42 #42DA60
square
#4270DA #DA42BC #DAAC42 #42DA60
split-complementary
#4270DA #DA6042 #BCDA42
monochromatic
#1A3B87 #2452BA #4270DA #7597E4 #A8BDEE

Accessibility & contrast

On white

4.60
#4270DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#4270DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4270DA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4270DA#FFFFFF#000000##FFFFFF
##4270DA1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#357CDE
Deuteranopia (green-blind)
#006FD8
Tritanopia (blue-blind)
#00899A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4270da;
/* rgb */ color: rgb(66, 112, 218);
/* oklch */ color: oklch(56.9% 0.170 264.1);
Tailwind
colors: {
  custom: {
    50: '#8898e6',
    500: '#4270da',
    950: '#000000',
  },
}
SCSS
$custom: #4270da;
$custom-light: #8898e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4270da",
  "rgb": {
    "r": 66,
    "g": 112,
    "b": 218
  },
  "hsl": {
    "h": 221.842,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56934,
    "c": 0.17017,
    "h": 264.1
  },
  "luminance": 0.17809
}

Semantic roles & 50–950 ramp

primary
#4270DA
secondary
#DBC89C
accent
#B63EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4270DA

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

Preview Lab → · Contrast checker → · Palette generator →

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