#3A6CCB#3A6CCB

#3A6CCB is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.7% C 0.157 H 261.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#3A6CCB
RGBrgb(58, 108, 203)
HSLhsl(219, 58%, 51%)
HSVhsv(219, 71%, 80%)
CMYKcmyk(71.4%, 46.8%, 0%, 20.4%)
CIE-LABlab(46.89, 15.44, -54.27)
CIE-LCHlch(46.89, 56.43, 285.88°)
OKLaboklab(54.72% -0.0225 -0.1556)
OKLCHoklch(54.72% 0.157 261.8)
XYZxyz(17.8831, 15.9346, 58.6215)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6CCB #CB993A
analogous
#3AB5CB #3A6CCB #503ACB
triadic
#3A6CCB #CB3A6C #6CCB3A
tetradic
#3A6CCB #CB3AB5 #CB993A #3ACB50
square
#3A6CCB #CB3AB5 #CB993A #3ACB50
split-complementary
#3A6CCB #CB503A #B5CB3A
monochromatic
#1D396E #2A529E #3A6CCB #6A90D8 #9BB4E5

Accessibility & contrast

On white

5.02
#3A6CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#3A6CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6CCB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6CCB#FFFFFF#000000##FFFFFF
##3A6CCB1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A76CF
Deuteranopia (green-blind)
#1769C9
Tritanopia (blue-blind)
#008292
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a6ccb;
/* rgb */ color: rgb(58, 108, 203);
/* oklch */ color: oklch(54.7% 0.157 261.8);
Tailwind
colors: {
  custom: {
    50: '#8295db',
    500: '#3a6ccb',
    950: '#000000',
  },
}
SCSS
$custom: #3a6ccb;
$custom-light: #8295db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6ccb",
  "rgb": {
    "r": 58,
    "g": 108,
    "b": 203
  },
  "hsl": {
    "h": 219.31,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54723,
    "c": 0.15721,
    "h": 261.8
  },
  "luminance": 0.15936
}

Semantic roles & 50–950 ramp

primary
#3A6CCB
secondary
#D0BA90
accent
#AC46E1
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A6CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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