#4270BB#4270BB

#4270BB is a mid, vivid blue. Relative luminance 0.163; OKLCH L 54.9% C 0.128 H 259.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4270BB
RGBrgb(66, 112, 187)
HSLhsl(217, 48%, 50%)
HSVhsv(217, 65%, 73%)
CMYKcmyk(64.7%, 40.1%, 0%, 26.7%)
CIE-LABlab(47.41, 8.44, -44.21)
CIE-LCHlch(47.41, 45.01, 280.81°)
OKLaboklab(54.91% -0.0229 -0.1258)
OKLCHoklch(54.91% 0.128 259.7)
XYZxyz(17.0074, 16.3328, 49.2603)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4270BB #BB8D42
analogous
#42ADBB #4270BB #5142BB
triadic
#4270BB #BB4270 #70BB42
tetradic
#4270BB #BB42AD #BB8D42 #42BB51
square
#4270BB #BB42AD #BB8D42 #42BB51
split-complementary
#4270BB #BB5142 #ADBB42
monochromatic
#223A61 #32558E #4270BB #6E92CC #9CB4DC

Accessibility & contrast

On white

4.92
#4270BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#4270BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4270BB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4270BB#FFFFFF#000000##FFFFFF
##4270BB1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E77BE
Deuteranopia (green-blind)
#3D6BB9
Tritanopia (blue-blind)
#00818C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4270bb;
/* rgb */ color: rgb(66, 112, 187);
/* oklch */ color: oklch(54.9% 0.128 259.7);
Tailwind
colors: {
  custom: {
    50: '#8298d0',
    500: '#4270bb',
    950: '#000000',
  },
}
SCSS
$custom: #4270bb;
$custom-light: #8298d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4270bb",
  "rgb": {
    "r": 66,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 217.19,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54912,
    "c": 0.1279,
    "h": 259.7
  },
  "luminance": 0.16334
}

Semantic roles & 50–950 ramp

primary
#4270BB
secondary
#C8B391
accent
#A450D7
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #4270BB

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

Preview Lab → · Contrast checker → · Palette generator →

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