#4270CE#4270CE

#4270CE is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.1% C 0.154 H 262.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4270CE
RGBrgb(66, 112, 206)
HSLhsl(220, 59%, 53%)
HSVhsv(220, 68%, 81%)
CMYKcmyk(68%, 45.6%, 0%, 19.2%)
CIE-LABlab(48.51, 15.19, -53.37)
CIE-LCHlch(48.51, 55.49, 285.89°)
OKLaboklab(56.12% -0.0192 -0.1527)
OKLCHoklch(56.12% 0.154 262.8)
XYZxyz(19.1776, 17.2009, 60.6900)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4270CE #CEA042
analogous
#42B6CE #4270CE #5A42CE
triadic
#4270CE #CE4270 #70CE42
tetradic
#4270CE #CE42B6 #CEA042 #42CE5A
square
#4270CE #CE42B6 #CEA042 #42CE5A
split-complementary
#4270CE #CE5A42 #B6CE42
monochromatic
#1F3C77 #2B54A7 #4270CE #7395DB #A3BAE7

Accessibility & contrast

On white

4.73
#4270CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#4270CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4270CE
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4270CE#FFFFFF#000000##FFFFFF
##4270CE1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#417AD2
Deuteranopia (green-blind)
#256DCC
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4270ce;
/* rgb */ color: rgb(66, 112, 206);
/* oklch */ color: oklch(56.1% 0.154 262.8);
Tailwind
colors: {
  custom: {
    50: '#8698dd',
    500: '#4270ce',
    950: '#000000',
  },
}
SCSS
$custom: #4270ce;
$custom-light: #8698dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4270ce",
  "rgb": {
    "r": 66,
    "g": 112,
    "b": 206
  },
  "hsl": {
    "h": 220.286,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56121,
    "c": 0.15394,
    "h": 262.8
  },
  "luminance": 0.17203
}

Semantic roles & 50–950 ramp

primary
#4270CE
secondary
#D4C098
accent
#AF46E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4270CE

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

Preview Lab → · Contrast checker → · Palette generator →

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