#4270DD#4270DD

#4270DD is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.1% C 0.174 H 264.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4270DD
RGBrgb(66, 112, 221)
HSLhsl(222, 70%, 56%)
HSVhsv(222, 70%, 87%)
CMYKcmyk(70.1%, 49.3%, 0%, 13.3%)
CIE-LABlab(49.45, 20.56, -60.38)
CIE-LCHlch(49.45, 63.78, 288.81°)
OKLaboklab(57.14% -0.0171 -0.1733)
OKLCHoklch(57.14% 0.174 264.4)
XYZxyz(21.0875, 17.9649, 70.7488)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4270DD #DDAF42
analogous
#42BDDD #4270DD #6242DD
triadic
#4270DD #DD4270 #70DD42
tetradic
#4270DD #DD42BD #DDAF42 #42DD62
square
#4270DD #DD42BD #DDAF42 #42DD62
split-complementary
#4270DD #DD6242 #BDDD42
monochromatic
#193B8C #2251BF #4270DD #7697E6 #AABEF0

Accessibility & contrast

On white

4.57
#4270DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#4270DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4270DD
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4270DD#FFFFFF#000000##000000
##4270DD1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#317DE1
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#008A9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4270dd;
/* rgb */ color: rgb(66, 112, 221);
/* oklch */ color: oklch(57.1% 0.174 264.4);
Tailwind
colors: {
  custom: {
    50: '#8898e8',
    500: '#4270dd',
    950: '#000000',
  },
}
SCSS
$custom: #4270dd;
$custom-light: #8898e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4270dd",
  "rgb": {
    "r": 66,
    "g": 112,
    "b": 221
  },
  "hsl": {
    "h": 222.194,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57143,
    "c": 0.17419,
    "h": 264.4
  },
  "luminance": 0.17967
}

Semantic roles & 50–950 ramp

primary
#4270DD
secondary
#DDCA9D
accent
#B83BEC
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4270DD

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

Preview Lab → · Contrast checker → · Palette generator →

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