#3A66CB#3A66CB

#3A66CB is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.5% C 0.164 H 264.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#3A66CB
RGBrgb(58, 102, 203)
HSLhsl(222, 58%, 51%)
HSVhsv(222, 71%, 80%)
CMYKcmyk(71.4%, 49.8%, 0%, 20.4%)
CIE-LABlab(45.24, 19.25, -56.93)
CIE-LCHlch(45.24, 60.10, 288.68°)
OKLaboklab(53.46% -0.0173 -0.1635)
OKLCHoklch(53.46% 0.164 264)
XYZxyz(17.2720, 14.7123, 58.4178)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A66CB #CB9F3A
analogous
#3AAECB #3A66CB #563ACB
triadic
#3A66CB #CB3A66 #66CB3A
tetradic
#3A66CB #CB3AAE #CB9F3A #3ACB56
square
#3A66CB #CB3AAE #CB9F3A #3ACB56
split-complementary
#3A66CB #CB563A #AECB3A
monochromatic
#1D356E #2A4D9E #3A66CB #6A8CD8 #9BB1E5

Accessibility & contrast

On white

5.33
#3A66CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#3A66CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A66CB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A66CB#FFFFFF#000000##FFFFFF
##3A66CB1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B72CF
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#007E8F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3a66cb;
/* rgb */ color: rgb(58, 102, 203);
/* oklch */ color: oklch(53.5% 0.164 264.0);
Tailwind
colors: {
  custom: {
    50: '#8291db',
    500: '#3a66cb',
    950: '#000000',
  },
}
SCSS
$custom: #3a66cb;
$custom-light: #8291db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a66cb",
  "rgb": {
    "r": 58,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 221.793,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5346,
    "c": 0.16443,
    "h": 264
  },
  "luminance": 0.14714
}

Semantic roles & 50–950 ramp

primary
#3A66CB
secondary
#D0BD90
accent
#B246E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3A66CB

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

Preview Lab → · Contrast checker → · Palette generator →

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