#4270DF#4270DF

#4270DF is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.3% C 0.177 H 264.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4270DF
RGBrgb(66, 112, 223)
HSLhsl(222, 71%, 57%)
HSVhsv(222, 70%, 87%)
CMYKcmyk(70.4%, 49.8%, 0%, 12.5%)
CIE-LABlab(49.58, 21.28, -61.30)
CIE-LCHlch(49.58, 64.89, 289.15°)
OKLaboklab(57.28% -0.0169 -0.1761)
OKLCHoklch(57.28% 0.177 264.5)
XYZxyz(21.3555, 18.0721, 72.1605)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4270DF #DFB142
analogous
#42BFDF #4270DF #6342DF
triadic
#4270DF #DF4270 #70DF42
tetradic
#4270DF #DF42BF #DFB142 #42DF63
square
#4270DF #DF42BF #DFB142 #42DF63
split-complementary
#4270DF #DF6342 #BFDF42
monochromatic
#183B8E #2150C3 #4270DF #7698E8 #ABBFF1

Accessibility & contrast

On white

4.55
#4270DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#4270DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4270DF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4270DF#FFFFFF#000000##000000
##4270DF1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7DE3
Deuteranopia (green-blind)
#006FDD
Tritanopia (blue-blind)
#008A9D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4270df;
/* rgb */ color: rgb(66, 112, 223);
/* oklch */ color: oklch(57.3% 0.177 264.5);
Tailwind
colors: {
  custom: {
    50: '#8998ea',
    500: '#4270df',
    950: '#000000',
  },
}
SCSS
$custom: #4270df;
$custom-light: #8998ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4270df",
  "rgb": {
    "r": 66,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 222.42,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57284,
    "c": 0.17687,
    "h": 264.5
  },
  "luminance": 0.18074
}

Semantic roles & 50–950 ramp

primary
#4270DF
secondary
#DFCC9E
accent
#B93AEE
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4270DF

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

Preview Lab → · Contrast checker → · Palette generator →

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