#3A66CC#3A66CC

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

Color values

HEX#3A66CC
RGBrgb(58, 102, 204)
HSLhsl(222, 59%, 51%)
HSVhsv(222, 72%, 80%)
CMYKcmyk(71.6%, 50%, 0%, 20%)
CIE-LABlab(45.30, 19.62, -57.40)
CIE-LCHlch(45.30, 60.66, 288.87°)
OKLaboklab(53.53% -0.0172 -0.1649)
OKLCHoklch(53.53% 0.166 264.1)
XYZxyz(17.3915, 14.7601, 59.0474)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A66CC #CCA03A
analogous
#3AAFCC #3A66CC #573ACC
triadic
#3A66CC #CC3A66 #66CC3A
tetradic
#3A66CC #CC3AAF #CCA03A #3ACC57
square
#3A66CC #CC3AAF #CCA03A #3ACC57
split-complementary
#3A66CC #CC573A #AFCC3A
monochromatic
#1D356F #294DA0 #3A66CC #6B8CD9 #9BB2E5

Accessibility & contrast

On white

5.31
#3A66CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#3A66CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A66CC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A66CC#FFFFFF#000000##FFFFFF
##3A66CC1.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)
#2972D0
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#007E8F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3a66cc;
/* rgb */ color: rgb(58, 102, 204);
/* oklch */ color: oklch(53.5% 0.166 264.1);
Tailwind
colors: {
  custom: {
    50: '#8291dc',
    500: '#3a66cc',
    950: '#000000',
  },
}
SCSS
$custom: #3a66cc;
$custom-light: #8291dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a66cc",
  "rgb": {
    "r": 58,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 221.918,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53532,
    "c": 0.16579,
    "h": 264.1
  },
  "luminance": 0.14762
}

Semantic roles & 50–950 ramp

primary
#3A66CC
secondary
#D1BE91
accent
#B346E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3A66CC

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

Preview Lab → · Contrast checker → · Palette generator →

#3A66CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva