#4066C8#4066C8

#4066C8 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.5% C 0.158 H 265.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4066C8
RGBrgb(64, 102, 200)
HSLhsl(223, 55%, 52%)
HSVhsv(223, 68%, 78%)
CMYKcmyk(68%, 49%, 0%, 21.6%)
CIE-LABlab(45.31, 19.04, -55.08)
CIE-LCHlch(45.31, 58.28, 289.07°)
OKLaboklab(53.52% -0.0126 -0.158)
OKLCHoklch(53.52% 0.158 265.4)
XYZxyz(17.2874, 14.7612, 56.5705)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4066C8 #C8A240
analogous
#40AAC8 #4066C8 #5E40C8
triadic
#4066C8 #C84066 #66C840
tetradic
#4066C8 #C840AA #C8A240 #40C85E
square
#4066C8 #C840AA #C8A240 #40C85E
split-complementary
#4066C8 #C85E40 #AAC840
monochromatic
#20366E #2D4D9D #4066C8 #708CD6 #9FB2E3

Accessibility & contrast

On white

5.31
#4066C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4066C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4066C8
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4066C8#FFFFFF#000000##FFFFFF
##4066C81.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3072CC
Deuteranopia (green-blind)
#0565C6
Tritanopia (blue-blind)
#007D8D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4066c8;
/* rgb */ color: rgb(64, 102, 200);
/* oklch */ color: oklch(53.5% 0.158 265.4);
Tailwind
colors: {
  custom: {
    50: '#8491d9',
    500: '#4066c8',
    950: '#000000',
  },
}
SCSS
$custom: #4066c8;
$custom-light: #8491d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4066c8",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 200
  },
  "hsl": {
    "h": 223.235,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53521,
    "c": 0.15847,
    "h": 265.4
  },
  "luminance": 0.14763
}

Semantic roles & 50–950 ramp

primary
#4066C8
secondary
#D0BF94
accent
#B549DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4066C8

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

Preview Lab → · Contrast checker → · Palette generator →

#4066C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva