#4266D5#4266D5

#4266D5 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.5% C 0.176 H 266.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4266D5
RGBrgb(66, 102, 213)
HSLhsl(225, 64%, 55%)
HSVhsv(225, 69%, 84%)
CMYKcmyk(69%, 52.1%, 0%, 16.5%)
CIE-LABlab(46.26, 24.00, -60.99)
CIE-LCHlch(46.26, 65.54, 291.48°)
OKLaboklab(54.55% -0.0095 -0.1753)
OKLCHoklch(54.55% 0.176 266.9)
XYZxyz(19.0042, 15.4632, 64.9210)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4266D5 #D5B142
analogous
#42B0D5 #4266D5 #6842D5
triadic
#4266D5 #D54266 #66D542
tetradic
#4266D5 #D542B0 #D5B142 #42D568
square
#4266D5 #D542B0 #D5B142 #42D568
split-complementary
#4266D5 #D56842 #B0D542
monochromatic
#1C3580 #284AB2 #4266D5 #748FE0 #A6B7EB

Accessibility & contrast

On white

5.13
#4266D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#4266D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4266D5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4266D5#FFFFFF#000000##FFFFFF
##4266D51.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C75D9
Deuteranopia (green-blind)
#0067D3
Tritanopia (blue-blind)
#008094
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4266d5;
/* rgb */ color: rgb(66, 102, 213);
/* oklch */ color: oklch(54.5% 0.176 266.9);
Tailwind
colors: {
  custom: {
    50: '#8791e3',
    500: '#4266d5',
    950: '#000000',
  },
}
SCSS
$custom: #4266d5;
$custom-light: #8791e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4266d5",
  "rgb": {
    "r": 66,
    "g": 102,
    "b": 213
  },
  "hsl": {
    "h": 225.306,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54549,
    "c": 0.17556,
    "h": 266.9
  },
  "luminance": 0.15465
}

Semantic roles & 50–950 ramp

primary
#4266D5
secondary
#D8C99A
accent
#BE41E7
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #4266D5

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

Preview Lab → · Contrast checker → · Palette generator →

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