#4270CC#4270CC

#4270CC is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.0% C 0.151 H 262.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4270CC
RGBrgb(66, 112, 204)
HSLhsl(220, 58%, 53%)
HSVhsv(220, 68%, 80%)
CMYKcmyk(67.6%, 45.1%, 0%, 20%)
CIE-LABlab(48.39, 14.48, -52.42)
CIE-LCHlch(48.39, 54.38, 285.44°)
OKLaboklab(55.99% -0.0196 -0.1499)
OKLCHoklch(55.99% 0.151 262.6)
XYZxyz(18.9362, 17.1043, 59.4186)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4270CC #CC9E42
analogous
#42B5CC #4270CC #5942CC
triadic
#4270CC #CC4270 #70CC42
tetradic
#4270CC #CC42B5 #CC9E42 #42CC59
square
#4270CC #CC42B5 #CC9E42 #42CC59
split-complementary
#4270CC #CC5942 #B5CC42
monochromatic
#1F3C74 #2C54A4 #4270CC #7294D9 #A2B9E6

Accessibility & contrast

On white

4.75
#4270CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4270CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4270CC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4270CC#FFFFFF#000000##FFFFFF
##4270CC1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#427ACF
Deuteranopia (green-blind)
#296DCA
Tritanopia (blue-blind)
#008594
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4270cc;
/* rgb */ color: rgb(66, 112, 204);
/* oklch */ color: oklch(56.0% 0.151 262.6);
Tailwind
colors: {
  custom: {
    50: '#8598dc',
    500: '#4270cc',
    950: '#000000',
  },
}
SCSS
$custom: #4270cc;
$custom-light: #8598dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4270cc",
  "rgb": {
    "r": 66,
    "g": 112,
    "b": 204
  },
  "hsl": {
    "h": 220,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55989,
    "c": 0.15121,
    "h": 262.6
  },
  "luminance": 0.17106
}

Semantic roles & 50–950 ramp

primary
#4270CC
secondary
#D3BF97
accent
#AE47E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4270CC

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

Preview Lab → · Contrast checker → · Palette generator →

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