#4270BE#4270BE

#4270BE is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.1% C 0.132 H 260.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4270BE
RGBrgb(66, 112, 190)
HSLhsl(218, 49%, 50%)
HSVhsv(218, 65%, 75%)
CMYKcmyk(65.3%, 41.1%, 0%, 25.5%)
CIE-LABlab(47.58, 9.50, -45.68)
CIE-LCHlch(47.58, 46.66, 281.75°)
OKLaboklab(55.1% -0.0222 -0.1301)
OKLCHoklch(55.1% 0.132 260.3)
XYZxyz(17.3319, 16.4626, 50.9694)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4270BE #BE9042
analogous
#42AEBE #4270BE #5242BE
triadic
#4270BE #BE4270 #70BE42
tetradic
#4270BE #BE42AE #BE9042 #42BE52
square
#4270BE #BE42AE #BE9042 #42BE52
split-complementary
#4270BE #BE5242 #AEBE42
monochromatic
#223A63 #325591 #4270BE #7092CE #9DB5DD

Accessibility & contrast

On white

4.89
#4270BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4270BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4270BE
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4270BE#FFFFFF#000000##FFFFFF
##4270BE1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D77C1
Deuteranopia (green-blind)
#3A6CBC
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4270be;
/* rgb */ color: rgb(66, 112, 190);
/* oklch */ color: oklch(55.1% 0.132 260.3);
Tailwind
colors: {
  custom: {
    50: '#8398d2',
    500: '#4270be',
    950: '#000000',
  },
}
SCSS
$custom: #4270be;
$custom-light: #8398d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4270be",
  "rgb": {
    "r": 66,
    "g": 112,
    "b": 190
  },
  "hsl": {
    "h": 217.742,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55096,
    "c": 0.13202,
    "h": 260.3
  },
  "luminance": 0.16464
}

Semantic roles & 50–950 ramp

primary
#4270BE
secondary
#CAB592
accent
#A64FD8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4270BE

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

Preview Lab → · Contrast checker → · Palette generator →

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