#3A6EDB#3A6EDB

#3A6EDB is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.3% C 0.176 H 262.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#3A6EDB
RGBrgb(58, 110, 219)
HSLhsl(221, 69%, 54%)
HSVhsv(221, 74%, 86%)
CMYKcmyk(73.5%, 49.8%, 0%, 14.1%)
CIE-LABlab(48.47, 20.03, -60.85)
CIE-LCHlch(48.47, 64.07, 288.22°)
OKLaboklab(56.26% -0.0219 -0.1749)
OKLCHoklch(56.26% 0.176 262.9)
XYZxyz(20.1025, 17.1637, 69.2576)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6EDB #DBA73A
analogous
#3ABFDB #3A6EDB #573ADB
triadic
#3A6EDB #DB3A6E #6EDB3A
tetradic
#3A6EDB #DB3ABF #DBA73A #3ADB57
square
#3A6EDB #DB3ABF #DBA73A #3ADB57
split-complementary
#3A6EDB #DB573A #BFDB3A
monochromatic
#183A83 #2152B6 #3A6EDB #6E94E4 #A1BAEE

Accessibility & contrast

On white

4.74
#3A6EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#3A6EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6EDB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6EDB#FFFFFF#000000##FFFFFF
##3A6EDB1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C7BDF
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#00889A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3a6edb;
/* rgb */ color: rgb(58, 110, 219);
/* oklch */ color: oklch(56.3% 0.176 262.9);
Tailwind
colors: {
  custom: {
    50: '#8596e7',
    500: '#3a6edb',
    950: '#000000',
  },
}
SCSS
$custom: #3a6edb;
$custom-light: #8596e7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6edb",
  "rgb": {
    "r": 58,
    "g": 110,
    "b": 219
  },
  "hsl": {
    "h": 220.621,
    "s": 69.099,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5626,
    "c": 0.1763,
    "h": 262.9
  },
  "luminance": 0.17166
}

Semantic roles & 50–950 ramp

primary
#3A6EDB
secondary
#DBC496
accent
#B33CEC
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0D16
muted
#7D7E84

Preview Lab

Preview with #3A6EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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