#4270BF#4270BF

#4270BF is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.2% C 0.133 H 260.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4270BF
RGBrgb(66, 112, 191)
HSLhsl(218, 49%, 50%)
HSVhsv(218, 65%, 75%)
CMYKcmyk(65.4%, 41.4%, 0%, 25.1%)
CIE-LABlab(47.63, 9.86, -46.16)
CIE-LCHlch(47.63, 47.21, 282.05°)
OKLaboklab(55.16% -0.022 -0.1316)
OKLCHoklch(55.16% 0.133 260.5)
XYZxyz(17.4416, 16.5065, 51.5470)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4270BF #BF9142
analogous
#42AEBF #4270BF #5242BF
triadic
#4270BF #BF4270 #70BF42
tetradic
#4270BF #BF42AE #BF9142 #42BF52
square
#4270BF #BF42AE #BF9142 #42BF52
split-complementary
#4270BF #BF5242 #AEBF42
monochromatic
#223B65 #325592 #4270BF #7093CE #9DB5DE

Accessibility & contrast

On white

4.88
#4270BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#4270BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4270BF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4270BF#FFFFFF#000000##FFFFFF
##4270BF1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C77C2
Deuteranopia (green-blind)
#396CBD
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4270bf;
/* rgb */ color: rgb(66, 112, 191);
/* oklch */ color: oklch(55.2% 0.133 260.5);
Tailwind
colors: {
  custom: {
    50: '#8398d3',
    500: '#4270bf',
    950: '#000000',
  },
}
SCSS
$custom: #4270bf;
$custom-light: #8398d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4270bf",
  "rgb": {
    "r": 66,
    "g": 112,
    "b": 191
  },
  "hsl": {
    "h": 217.92,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55158,
    "c": 0.1334,
    "h": 260.5
  },
  "luminance": 0.16508
}

Semantic roles & 50–950 ramp

primary
#4270BF
secondary
#CAB693
accent
#A64FD9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4270BF

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

Preview Lab → · Contrast checker → · Palette generator →

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