#4266CF#4266CF

#4266CF is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.1% C 0.167 H 266.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4266CF
RGBrgb(66, 102, 207)
HSLhsl(225, 59%, 54%)
HSVhsv(225, 68%, 81%)
CMYKcmyk(68.1%, 50.7%, 0%, 18.8%)
CIE-LABlab(45.86, 21.86, -58.21)
CIE-LCHlch(45.86, 62.18, 290.58°)
OKLaboklab(54.11% -0.0101 -0.1671)
OKLCHoklch(54.11% 0.167 266.6)
XYZxyz(18.2567, 15.1642, 60.9842)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4266CF #CFAB42
analogous
#42ACCF #4266CF #6442CF
triadic
#4266CF #CF4266 #66CF42
tetradic
#4266CF #CF42AC #CFAB42 #42CF64
square
#4266CF #CF42AC #CFAB42 #42CF64
split-complementary
#4266CF #CF6442 #ACCF42
monochromatic
#1F3578 #2B4BA9 #4266CF #738EDB #A4B5E8

Accessibility & contrast

On white

5.21
#4266CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#4266CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4266CF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4266CF#FFFFFF#000000##FFFFFF
##4266CF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2773D3
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#007F91
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4266cf;
/* rgb */ color: rgb(66, 102, 207);
/* oklch */ color: oklch(54.1% 0.167 266.6);
Tailwind
colors: {
  custom: {
    50: '#8691de',
    500: '#4266cf',
    950: '#000000',
  },
}
SCSS
$custom: #4266cf;
$custom-light: #8691de;
$custom-dark: #000000;
JSON
{
  "hex": "#4266cf",
  "rgb": {
    "r": 66,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 224.681,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54114,
    "c": 0.16743,
    "h": 266.6
  },
  "luminance": 0.15166
}

Semantic roles & 50–950 ramp

primary
#4266CF
secondary
#D5C598
accent
#BA45E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4266CF

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

Preview Lab → · Contrast checker → · Palette generator →

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