#4270BC#4270BC

#4270BC is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.0% C 0.129 H 259.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4270BC
RGBrgb(66, 112, 188)
HSLhsl(217, 48%, 50%)
HSVhsv(217, 65%, 74%)
CMYKcmyk(64.9%, 40.4%, 0%, 26.3%)
CIE-LABlab(47.46, 8.80, -44.70)
CIE-LCHlch(47.46, 45.56, 281.13°)
OKLaboklab(54.97% -0.0226 -0.1273)
OKLCHoklch(54.97% 0.129 259.9)
XYZxyz(17.1148, 16.3758, 49.8261)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4270BC #BC8E42
analogous
#42ADBC #4270BC #5142BC
triadic
#4270BC #BC4270 #70BC42
tetradic
#4270BC #BC42AD #BC8E42 #42BC51
square
#4270BC #BC42AD #BC8E42 #42BC51
split-complementary
#4270BC #BC5142 #ADBC42
monochromatic
#223A61 #32558F #4270BC #6F92CC #9CB4DC

Accessibility & contrast

On white

4.91
#4270BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#4270BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4270BC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4270BC#FFFFFF#000000##FFFFFF
##4270BC1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E77BF
Deuteranopia (green-blind)
#3C6BBA
Tritanopia (blue-blind)
#00818D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4270bc;
/* rgb */ color: rgb(66, 112, 188);
/* oklch */ color: oklch(55.0% 0.129 259.9);
Tailwind
colors: {
  custom: {
    50: '#8298d0',
    500: '#4270bc',
    950: '#000000',
  },
}
SCSS
$custom: #4270bc;
$custom-light: #8298d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4270bc",
  "rgb": {
    "r": 66,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 217.377,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54973,
    "c": 0.12928,
    "h": 259.9
  },
  "luminance": 0.16377
}

Semantic roles & 50–950 ramp

primary
#4270BC
secondary
#C9B491
accent
#A550D8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4270BC

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

Preview Lab → · Contrast checker → · Palette generator →

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