#4270DB#4270DB

#4270DB is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.0% C 0.172 H 264.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4270DB
RGBrgb(66, 112, 219)
HSLhsl(222, 68%, 56%)
HSVhsv(222, 70%, 86%)
CMYKcmyk(69.9%, 48.9%, 0%, 14.1%)
CIE-LABlab(49.32, 19.85, -59.45)
CIE-LCHlch(49.32, 62.68, 288.46°)
OKLaboklab(57% -0.0174 -0.1706)
OKLCHoklch(57% 0.172 264.2)
XYZxyz(20.8226, 17.8589, 69.3538)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4270DB #DBAD42
analogous
#42BCDB #4270DB #6042DB
triadic
#4270DB #DB4270 #70DB42
tetradic
#4270DB #DB42BC #DBAD42 #42DB60
square
#4270DB #DB42BC #DBAD42 #42DB60
split-complementary
#4270DB #DB6042 #BCDB42
monochromatic
#1A3B89 #2452BC #4270DB #7597E5 #A9BEEF

Accessibility & contrast

On white

4.59
#4270DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#4270DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4270DB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4270DB#FFFFFF#000000##FFFFFF
##4270DB1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#347DDF
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#00899B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4270db;
/* rgb */ color: rgb(66, 112, 219);
/* oklch */ color: oklch(57.0% 0.172 264.2);
Tailwind
colors: {
  custom: {
    50: '#8898e7',
    500: '#4270db',
    950: '#000000',
  },
}
SCSS
$custom: #4270db;
$custom-light: #8898e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4270db",
  "rgb": {
    "r": 66,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 221.961,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57004,
    "c": 0.17151,
    "h": 264.2
  },
  "luminance": 0.17861
}

Semantic roles & 50–950 ramp

primary
#4270DB
secondary
#DCC99D
accent
#B73DEB
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4270DB

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

Preview Lab → · Contrast checker → · Palette generator →

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