#3A6FCB#3A6FCB

#3A6FCB is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.4% C 0.154 H 260.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#3A6FCB
RGBrgb(58, 111, 203)
HSLhsl(218, 58%, 51%)
HSVhsv(218, 71%, 80%)
CMYKcmyk(71.4%, 45.3%, 0%, 20.4%)
CIE-LABlab(47.72, 13.54, -52.93)
CIE-LCHlch(47.72, 54.64, 284.35°)
OKLaboklab(55.36% -0.0251 -0.1516)
OKLCHoklch(55.36% 0.154 260.6)
XYZxyz(18.2050, 16.5783, 58.7288)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6FCB #CB963A
analogous
#3AB7CB #3A6FCB #4D3ACB
triadic
#3A6FCB #CB3A6F #6FCB3A
tetradic
#3A6FCB #CB3AB7 #CB963A #3ACB4D
square
#3A6FCB #CB3AB7 #CB963A #3ACB4D
split-complementary
#3A6FCB #CB4D3A #B7CB3A
monochromatic
#1D3A6E #2A549E #3A6FCB #6A92D8 #9BB6E5

Accessibility & contrast

On white

4.87
#3A6FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#3A6FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6FCB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6FCB#FFFFFF#000000##FFFFFF
##3A6FCB1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4078CE
Deuteranopia (green-blind)
#226BC9
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a6fcb;
/* rgb */ color: rgb(58, 111, 203);
/* oklch */ color: oklch(55.4% 0.154 260.6);
Tailwind
colors: {
  custom: {
    50: '#8297db',
    500: '#3a6fcb',
    950: '#000000',
  },
}
SCSS
$custom: #3a6fcb;
$custom-light: #8297db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6fcb",
  "rgb": {
    "r": 58,
    "g": 111,
    "b": 203
  },
  "hsl": {
    "h": 218.069,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55365,
    "c": 0.15367,
    "h": 260.6
  },
  "luminance": 0.1658
}

Semantic roles & 50–950 ramp

primary
#3A6FCB
secondary
#D0B990
accent
#A946E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A6FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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