#3A6CDB#3A6CDB

#3A6CDB is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.8% C 0.179 H 263.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#3A6CDB
RGBrgb(58, 108, 219)
HSLhsl(221, 69%, 54%)
HSVhsv(221, 74%, 86%)
CMYKcmyk(73.5%, 50.7%, 0%, 14.1%)
CIE-LABlab(47.93, 21.30, -61.72)
CIE-LCHlch(47.93, 65.29, 289.04°)
OKLaboklab(55.85% -0.0203 -0.1775)
OKLCHoklch(55.85% 0.179 263.5)
XYZxyz(19.8891, 16.7370, 69.1864)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6CDB #DBA93A
analogous
#3ABDDB #3A6CDB #583ADB
triadic
#3A6CDB #DB3A6C #6CDB3A
tetradic
#3A6CDB #DB3ABD #DBA93A #3ADB58
square
#3A6CDB #DB3ABD #DBA93A #3ADB58
split-complementary
#3A6CDB #DB583A #BDDB3A
monochromatic
#183983 #2150B6 #3A6CDB #6E93E4 #A1B9EE

Accessibility & contrast

On white

4.83
#3A6CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#3A6CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6CDB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6CDB#FFFFFF#000000##FFFFFF
##3A6CDB1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#267ADF
Deuteranopia (green-blind)
#006BD9
Tritanopia (blue-blind)
#008799
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3a6cdb;
/* rgb */ color: rgb(58, 108, 219);
/* oklch */ color: oklch(55.8% 0.179 263.5);
Tailwind
colors: {
  custom: {
    50: '#8595e7',
    500: '#3a6cdb',
    950: '#000000',
  },
}
SCSS
$custom: #3a6cdb;
$custom-light: #8595e7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6cdb",
  "rgb": {
    "r": 58,
    "g": 108,
    "b": 219
  },
  "hsl": {
    "h": 221.366,
    "s": 69.099,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55849,
    "c": 0.17868,
    "h": 263.5
  },
  "luminance": 0.16739
}

Semantic roles & 50–950 ramp

primary
#3A6CDB
secondary
#DBC596
accent
#B53CEC
background
#F8F9FE
surface
#F0F1FC
border
#CBCBD5
text
#0D0D16
muted
#7D7E84

Preview Lab

Preview with #3A6CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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