#4266ED#4266ED

#4266ED is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 56.4% C 0.207 H 267.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4266ED
RGBrgb(66, 102, 237)
HSLhsl(227, 83%, 59%)
HSVhsv(227, 72%, 93%)
CMYKcmyk(72.2%, 57%, 0%, 7.1%)
CIE-LABlab(47.97, 32.54, -71.79)
CIE-LCHlch(47.97, 78.82, 294.38°)
OKLaboklab(56.38% -0.0081 -0.2071)
OKLCHoklch(56.38% 0.207 267.8)
XYZxyz(22.2789, 16.7731, 82.1677)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4266ED #EDC942
analogous
#42BCED #4266ED #7342ED
triadic
#4266ED #ED4266 #66ED42
tetradic
#4266ED #ED42BC #EDC942 #42ED73
square
#4266ED #ED42BC #EDC942 #42ED73
split-complementary
#4266ED #ED7342 #BCED42
monochromatic
#102FA5 #153FDD #4266ED #7A93F2 #B2C0F8

Accessibility & contrast

On white

4.82
#4266ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#4266ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4266ED
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4266ED#FFFFFF#000000##FFFFFF
##4266ED1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF2
Deuteranopia (green-blind)
#006AEA
Tritanopia (blue-blind)
#0088A0
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4266ed;
/* rgb */ color: rgb(66, 102, 237);
/* oklch */ color: oklch(56.4% 0.207 267.8);
Tailwind
colors: {
  custom: {
    50: '#8c91f4',
    500: '#4266ed',
    950: '#000000',
  },
}
SCSS
$custom: #4266ed;
$custom-light: #8c91f4;
$custom-dark: #000000;
JSON
{
  "hex": "#4266ed",
  "rgb": {
    "r": 66,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 227.368,
    "s": 82.609,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56376,
    "c": 0.20723,
    "h": 267.8
  },
  "luminance": 0.16775
}

Semantic roles & 50–950 ramp

primary
#4266ED
secondary
#E7D9A4
accent
#CE2FF9
background
#F9F8FF
surface
#F2F0FE
border
#CCCBD6
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #4266ED

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

Preview Lab → · Contrast checker → · Palette generator →

#4266ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva