#4266CE#4266CE

#4266CE is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.0% C 0.166 H 266.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4266CE
RGBrgb(66, 102, 206)
HSLhsl(225, 59%, 53%)
HSVhsv(225, 68%, 81%)
CMYKcmyk(68%, 50.5%, 0%, 19.2%)
CIE-LABlab(45.79, 21.50, -57.74)
CIE-LCHlch(45.79, 61.62, 290.42°)
OKLaboklab(54.04% -0.0102 -0.1658)
OKLCHoklch(54.04% 0.166 266.5)
XYZxyz(18.1348, 15.1154, 60.3424)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4266CE #CEAA42
analogous
#42ACCE #4266CE #6442CE
triadic
#4266CE #CE4266 #66CE42
tetradic
#4266CE #CE42AC #CEAA42 #42CE64
square
#4266CE #CE42AC #CEAA42 #42CE64
split-complementary
#4266CE #CE6442 #ACCE42
monochromatic
#1F3577 #2B4BA7 #4266CE #738DDB #A3B5E7

Accessibility & contrast

On white

5.22
#4266CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#4266CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4266CE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4266CE#FFFFFF#000000##FFFFFF
##4266CE1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2973D2
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#007F90
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4266ce;
/* rgb */ color: rgb(66, 102, 206);
/* oklch */ color: oklch(54.0% 0.166 266.5);
Tailwind
colors: {
  custom: {
    50: '#8691de',
    500: '#4266ce',
    950: '#000000',
  },
}
SCSS
$custom: #4266ce;
$custom-light: #8691de;
$custom-dark: #000000;
JSON
{
  "hex": "#4266ce",
  "rgb": {
    "r": 66,
    "g": 102,
    "b": 206
  },
  "hsl": {
    "h": 224.571,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54043,
    "c": 0.16607,
    "h": 266.5
  },
  "luminance": 0.15117
}

Semantic roles & 50–950 ramp

primary
#4266CE
secondary
#D4C598
accent
#BA46E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4266CE

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

Preview Lab → · Contrast checker → · Palette generator →

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