#3A66CA#3A66CA

#3A66CA is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.4% C 0.163 H 263.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#3A66CA
RGBrgb(58, 102, 202)
HSLhsl(222, 58%, 51%)
HSVhsv(222, 71%, 79%)
CMYKcmyk(71.3%, 49.5%, 0%, 20.8%)
CIE-LABlab(45.17, 18.89, -56.46)
CIE-LCHlch(45.17, 59.54, 288.49°)
OKLaboklab(53.39% -0.0174 -0.1621)
OKLCHoklch(53.39% 0.163 263.9)
XYZxyz(17.1532, 14.6647, 57.7922)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A66CA #CA9E3A
analogous
#3AAECA #3A66CA #563ACA
triadic
#3A66CA #CA3A66 #66CA3A
tetradic
#3A66CA #CA3AAE #CA9E3A #3ACA56
square
#3A66CA #CA3AAE #CA9E3A #3ACA56
split-complementary
#3A66CA #CA563A #AECA3A
monochromatic
#1D356C #2A4D9D #3A66CA #6A8BD7 #9AB1E4

Accessibility & contrast

On white

5.34
#3A66CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#3A66CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A66CA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A66CA#FFFFFF#000000##FFFFFF
##3A66CA1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C72CE
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#007E8E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3a66ca;
/* rgb */ color: rgb(58, 102, 202);
/* oklch */ color: oklch(53.4% 0.163 263.9);
Tailwind
colors: {
  custom: {
    50: '#8291db',
    500: '#3a66ca',
    950: '#000000',
  },
}
SCSS
$custom: #3a66ca;
$custom-light: #8291db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a66ca",
  "rgb": {
    "r": 58,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 221.667,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53388,
    "c": 0.16307,
    "h": 263.9
  },
  "luminance": 0.14667
}

Semantic roles & 50–950 ramp

primary
#3A66CA
secondary
#D0BC90
accent
#B247E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3A66CA

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

Preview Lab → · Contrast checker → · Palette generator →

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