#4270CB#4270CB

#4270CB is a mid, vivid blue. Relative luminance 0.171; OKLCH L 55.9% C 0.150 H 262.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4270CB
RGBrgb(66, 112, 203)
HSLhsl(220, 57%, 53%)
HSVhsv(220, 67%, 80%)
CMYKcmyk(67.5%, 44.8%, 0%, 20.4%)
CIE-LABlab(48.33, 14.12, -51.94)
CIE-LCHlch(48.33, 53.83, 285.21°)
OKLaboklab(55.92% -0.0197 -0.1485)
OKLCHoklch(55.92% 0.15 262.4)
XYZxyz(18.8166, 17.0565, 58.7889)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4270CB #CB9D42
analogous
#42B4CB #4270CB #5942CB
triadic
#4270CB #CB4270 #70CB42
tetradic
#4270CB #CB42B4 #CB9D42 #42CB59
square
#4270CB #CB42B4 #CB9D42 #42CB59
split-complementary
#4270CB #CB5942 #B4CB42
monochromatic
#203C73 #2D54A3 #4270CB #7294D8 #A2B9E5

Accessibility & contrast

On white

4.76
#4270CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#4270CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4270CB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4270CB#FFFFFF#000000##FFFFFF
##4270CB1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4379CE
Deuteranopia (green-blind)
#2A6DC9
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4270cb;
/* rgb */ color: rgb(66, 112, 203);
/* oklch */ color: oklch(55.9% 0.150 262.4);
Tailwind
colors: {
  custom: {
    50: '#8598db',
    500: '#4270cb',
    950: '#000000',
  },
}
SCSS
$custom: #4270cb;
$custom-light: #8598db;
$custom-dark: #000000;
JSON
{
  "hex": "#4270cb",
  "rgb": {
    "r": 66,
    "g": 112,
    "b": 203
  },
  "hsl": {
    "h": 219.854,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55923,
    "c": 0.14985,
    "h": 262.4
  },
  "luminance": 0.17058
}

Semantic roles & 50–950 ramp

primary
#4270CB
secondary
#D2BE97
accent
#AD48E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4270CB

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

Preview Lab → · Contrast checker → · Palette generator →

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