#3A6ACB#3A6ACB

#3A6ACB is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.3% C 0.160 H 262.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#3A6ACB
RGBrgb(58, 106, 203)
HSLhsl(220, 58%, 51%)
HSVhsv(220, 71%, 80%)
CMYKcmyk(71.4%, 47.8%, 0%, 20.4%)
CIE-LABlab(46.34, 16.71, -55.16)
CIE-LCHlch(46.34, 57.64, 286.85°)
OKLaboklab(54.3% -0.0207 -0.1582)
OKLCHoklch(54.3% 0.16 262.5)
XYZxyz(17.6746, 15.5175, 58.5520)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6ACB #CB9B3A
analogous
#3AB2CB #3A6ACB #523ACB
triadic
#3A6ACB #CB3A6A #6ACB3A
tetradic
#3A6ACB #CB3AB2 #CB9B3A #3ACB52
square
#3A6ACB #CB3AB2 #CB9B3A #3ACB52
split-complementary
#3A6ACB #CB523A #B2CB3A
monochromatic
#1D386E #2A509E #3A6ACB #6A8FD8 #9BB3E5

Accessibility & contrast

On white

5.12
#3A6ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#3A6ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6ACB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6ACB#FFFFFF#000000##FFFFFF
##3A6ACB1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3575CF
Deuteranopia (green-blind)
#0B68C9
Tritanopia (blue-blind)
#008191
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a6acb;
/* rgb */ color: rgb(58, 106, 203);
/* oklch */ color: oklch(54.3% 0.160 262.5);
Tailwind
colors: {
  custom: {
    50: '#8294db',
    500: '#3a6acb',
    950: '#000000',
  },
}
SCSS
$custom: #3a6acb;
$custom-light: #8294db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6acb",
  "rgb": {
    "r": 58,
    "g": 106,
    "b": 203
  },
  "hsl": {
    "h": 220.138,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54299,
    "c": 0.1596,
    "h": 262.5
  },
  "luminance": 0.15519
}

Semantic roles & 50–950 ramp

primary
#3A6ACB
secondary
#D0BB90
accent
#AE46E1
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A6ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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