#4266D2#4266D2

#4266D2 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.3% C 0.172 H 266.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4266D2
RGBrgb(66, 102, 210)
HSLhsl(225, 62%, 54%)
HSVhsv(225, 69%, 82%)
CMYKcmyk(68.6%, 51.4%, 0%, 17.6%)
CIE-LABlab(46.06, 22.93, -59.60)
CIE-LCHlch(46.06, 63.86, 291.04°)
OKLaboklab(54.33% -0.0098 -0.1712)
OKLCHoklch(54.33% 0.172 266.7)
XYZxyz(18.6270, 15.3123, 62.9342)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4266D2 #D2AE42
analogous
#42AED2 #4266D2 #6642D2
triadic
#4266D2 #D24266 #66D242
tetradic
#4266D2 #D242AE #D2AE42 #42D266
square
#4266D2 #D242AE #D2AE42 #42D266
split-complementary
#4266D2 #D26642 #AED242
monochromatic
#1E357C #294AAD #4266D2 #738EDE #A5B6EA

Accessibility & contrast

On white

5.17
#4266D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#4266D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4266D2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4266D2#FFFFFF#000000##FFFFFF
##4266D21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2274D6
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#008092
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4266d2;
/* rgb */ color: rgb(66, 102, 210);
/* oklch */ color: oklch(54.3% 0.172 266.7);
Tailwind
colors: {
  custom: {
    50: '#8791e0',
    500: '#4266d2',
    950: '#000000',
  },
}
SCSS
$custom: #4266d2;
$custom-light: #8791e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4266d2",
  "rgb": {
    "r": 66,
    "g": 102,
    "b": 210
  },
  "hsl": {
    "h": 225,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54331,
    "c": 0.17151,
    "h": 266.7
  },
  "luminance": 0.15314
}

Semantic roles & 50–950 ramp

primary
#4266D2
secondary
#D7C799
accent
#BC43E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4266D2

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

Preview Lab → · Contrast checker → · Palette generator →

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