#3A6FDB#3A6FDB

#3A6FDB is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.5% C 0.175 H 262.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#3A6FDB
RGBrgb(58, 111, 219)
HSLhsl(220, 69%, 54%)
HSVhsv(220, 74%, 86%)
CMYKcmyk(73.5%, 49.3%, 0%, 14.1%)
CIE-LABlab(48.74, 19.40, -60.42)
CIE-LCHlch(48.74, 63.46, 287.80°)
OKLaboklab(56.47% -0.0227 -0.1736)
OKLCHoklch(56.47% 0.175 262.5)
XYZxyz(20.2110, 17.3807, 69.2937)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6FDB #DBA63A
analogous
#3AC0DB #3A6FDB #553ADB
triadic
#3A6FDB #DB3A6F #6FDB3A
tetradic
#3A6FDB #DB3AC0 #DBA63A #3ADB55
square
#3A6FDB #DB3AC0 #DBA63A #3ADB55
split-complementary
#3A6FDB #DB553A #C0DB3A
monochromatic
#183B83 #2152B6 #3A6FDB #6E95E4 #A1BBEE

Accessibility & contrast

On white

4.69
#3A6FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#3A6FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6FDB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6FDB#FFFFFF#000000##FFFFFF
##3A6FDB1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F7CDF
Deuteranopia (green-blind)
#006DD9
Tritanopia (blue-blind)
#00899A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3a6fdb;
/* rgb */ color: rgb(58, 111, 219);
/* oklch */ color: oklch(56.5% 0.175 262.5);
Tailwind
colors: {
  custom: {
    50: '#8597e7',
    500: '#3a6fdb',
    950: '#000000',
  },
}
SCSS
$custom: #3a6fdb;
$custom-light: #8597e7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6fdb",
  "rgb": {
    "r": 58,
    "g": 111,
    "b": 219
  },
  "hsl": {
    "h": 220.248,
    "s": 69.099,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56466,
    "c": 0.1751,
    "h": 262.5
  },
  "luminance": 0.17383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A6FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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