#4267ED#4267ED

#4267ED is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 56.6% C 0.206 H 267.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4267ED
RGBrgb(66, 103, 237)
HSLhsl(227, 83%, 59%)
HSVhsv(227, 72%, 93%)
CMYKcmyk(72.2%, 56.5%, 0%, 7.1%)
CIE-LABlab(48.22, 31.92, -71.38)
CIE-LCHlch(48.22, 78.19, 294.09°)
OKLaboklab(56.56% -0.0088 -0.2059)
OKLCHoklch(56.56% 0.206 267.6)
XYZxyz(22.3778, 16.9708, 82.2007)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4267ED #EDC842
analogous
#42BCED #4267ED #7342ED
triadic
#4267ED #ED4267 #67ED42
tetradic
#4267ED #ED42BC #EDC842 #42ED73
square
#4267ED #ED42BC #EDC842 #42ED73
split-complementary
#4267ED #ED7342 #BCED42
monochromatic
#1030A5 #1540DD #4267ED #7A94F2 #B2C1F8

Accessibility & contrast

On white

4.78
#4267ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#4267ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4267ED
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4267ED#FFFFFF#000000##FFFFFF
##4267ED1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4267ed;
/* rgb */ color: rgb(66, 103, 237);
/* oklch */ color: oklch(56.6% 0.206 267.6);
Tailwind
colors: {
  custom: {
    50: '#8c92f4',
    500: '#4267ed',
    950: '#000000',
  },
}
SCSS
$custom: #4267ed;
$custom-light: #8c92f4;
$custom-dark: #000000;
JSON
{
  "hex": "#4267ed",
  "rgb": {
    "r": 66,
    "g": 103,
    "b": 237
  },
  "hsl": {
    "h": 227.018,
    "s": 82.609,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56564,
    "c": 0.20605,
    "h": 267.6
  },
  "luminance": 0.16973
}

Semantic roles & 50–950 ramp

primary
#4267ED
secondary
#E7D8A4
accent
#CD2FF9
background
#F9F8FF
surface
#F2F0FE
border
#CCCBD6
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #4267ED

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

Preview Lab → · Contrast checker → · Palette generator →

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