#4270EA#4270EA

#4270EA is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.1% C 0.191 H 265.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4270EA
RGBrgb(66, 112, 234)
HSLhsl(224, 80%, 59%)
HSVhsv(224, 72%, 92%)
CMYKcmyk(71.8%, 52.1%, 0%, 8.2%)
CIE-LABlab(50.32, 25.22, -66.30)
CIE-LCHlch(50.32, 70.94, 290.83°)
OKLaboklab(58.07% -0.0158 -0.1908)
OKLCHoklch(58.07% 0.191 265.3)
XYZxyz(22.8870, 18.6847, 80.2263)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4270EA #EABC42
analogous
#42C4EA #4270EA #6842EA
triadic
#4270EA #EA4270 #70EA42
tetradic
#4270EA #EA42C4 #EABC42 #42EA68
square
#4270EA #EA42C4 #EABC42 #42EA68
split-complementary
#4270EA #EA6842 #C4EA42
monochromatic
#1239A0 #184CD7 #4270EA #799AF0 #B0C3F6

Accessibility & contrast

On white

4.43
#4270EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#4270EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4270EA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4270EA#FFFFFF#000000##000000
##4270EA1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A80EE
Deuteranopia (green-blind)
#0070E8
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4270ea;
/* rgb */ color: rgb(66, 112, 234);
/* oklch */ color: oklch(58.1% 0.191 265.3);
Tailwind
colors: {
  custom: {
    50: '#8b98f1',
    500: '#4270ea',
    950: '#000000',
  },
}
SCSS
$custom: #4270ea;
$custom-light: #8b98f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4270ea",
  "rgb": {
    "r": 66,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 223.571,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58074,
    "c": 0.19144,
    "h": 265.3
  },
  "luminance": 0.18687
}

Semantic roles & 50–950 ramp

primary
#4270EA
secondary
#E5D3A3
accent
#C031F6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0D17
muted
#7E7E85

Preview Lab

Preview with #4270EA

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

Preview Lab → · Contrast checker → · Palette generator →

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