#4266CC#4266CC

#4266CC is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.9% C 0.163 H 266.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4266CC
RGBrgb(66, 102, 204)
HSLhsl(224, 58%, 53%)
HSVhsv(224, 68%, 80%)
CMYKcmyk(67.6%, 50%, 0%, 20%)
CIE-LABlab(45.66, 20.79, -56.81)
CIE-LCHlch(45.66, 60.49, 290.10°)
OKLaboklab(53.9% -0.0104 -0.163)
OKLCHoklch(53.9% 0.163 266.4)
XYZxyz(17.8934, 15.0189, 59.0710)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4266CC #CCA842
analogous
#42ABCC #4266CC #6342CC
triadic
#4266CC #CC4266 #66CC42
tetradic
#4266CC #CC42AB #CCA842 #42CC63
square
#4266CC #CC42AB #CCA842 #42CC63
split-complementary
#4266CC #CC6342 #ABCC42
monochromatic
#1F3674 #2C4CA4 #4266CC #728DD9 #A2B4E6

Accessibility & contrast

On white

5.24
#4266CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4266CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4266CC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4266CC#FFFFFF#000000##FFFFFF
##4266CC1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B73D0
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#007E8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4266cc;
/* rgb */ color: rgb(66, 102, 204);
/* oklch */ color: oklch(53.9% 0.163 266.4);
Tailwind
colors: {
  custom: {
    50: '#8691dc',
    500: '#4266cc',
    950: '#000000',
  },
}
SCSS
$custom: #4266cc;
$custom-light: #8691dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4266cc",
  "rgb": {
    "r": 66,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 224.348,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.539,
    "c": 0.16334,
    "h": 266.4
  },
  "luminance": 0.15021
}

Semantic roles & 50–950 ramp

primary
#4266CC
secondary
#D3C397
accent
#B947E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4266CC

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

Preview Lab → · Contrast checker → · Palette generator →

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