#3A66C8#3A66C8

#3A66C8 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.2% C 0.160 H 263.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#3A66C8
RGBrgb(58, 102, 200)
HSLhsl(221, 56%, 51%)
HSVhsv(221, 71%, 78%)
CMYKcmyk(71%, 49%, 0%, 21.6%)
CIE-LABlab(45.04, 18.15, -55.52)
CIE-LCHlch(45.04, 58.42, 288.11°)
OKLaboklab(53.25% -0.0177 -0.1594)
OKLCHoklch(53.25% 0.16 263.7)
XYZxyz(16.9179, 14.5706, 56.5532)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A66C8 #C89C3A
analogous
#3AADC8 #3A66C8 #553AC8
triadic
#3A66C8 #C83A66 #66C83A
tetradic
#3A66C8 #C83AAD #C89C3A #3AC855
square
#3A66C8 #C83AAD #C89C3A #3AC855
split-complementary
#3A66C8 #C8553A #ADC83A
monochromatic
#1E356A #2B4D9A #3A66C8 #6A8BD5 #9AB0E3

Accessibility & contrast

On white

5.36
#3A66C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#3A66C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A66C8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A66C8#FFFFFF#000000##FFFFFF
##3A66C81.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F71CC
Deuteranopia (green-blind)
#0064C6
Tritanopia (blue-blind)
#007D8D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3a66c8;
/* rgb */ color: rgb(58, 102, 200);
/* oklch */ color: oklch(53.2% 0.160 263.7);
Tailwind
colors: {
  custom: {
    50: '#8191d9',
    500: '#3a66c8',
    950: '#000000',
  },
}
SCSS
$custom: #3a66c8;
$custom-light: #8191d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a66c8",
  "rgb": {
    "r": 58,
    "g": 102,
    "b": 200
  },
  "hsl": {
    "h": 221.408,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53246,
    "c": 0.16036,
    "h": 263.7
  },
  "luminance": 0.14572
}

Semantic roles & 50–950 ramp

primary
#3A66C8
secondary
#CEBB8F
accent
#B148E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3A66C8

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

Preview Lab → · Contrast checker → · Palette generator →

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