#3A6BDB#3A6BDB

#3A6BDB is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.6% C 0.180 H 263.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3A6BDB
RGBrgb(58, 107, 219)
HSLhsl(222, 69%, 54%)
HSVhsv(222, 74%, 86%)
CMYKcmyk(73.5%, 51.1%, 0%, 14.1%)
CIE-LABlab(47.66, 21.93, -62.16)
CIE-LCHlch(47.66, 65.91, 289.43°)
OKLaboklab(55.65% -0.0195 -0.1788)
OKLCHoklch(55.65% 0.18 263.8)
XYZxyz(19.7843, 16.5272, 69.1515)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6BDB #DBAA3A
analogous
#3ABCDB #3A6BDB #5A3ADB
triadic
#3A6BDB #DB3A6B #6BDB3A
tetradic
#3A6BDB #DB3ABC #DBAA3A #3ADB5A
square
#3A6BDB #DB3ABC #DBAA3A #3ADB5A
split-complementary
#3A6BDB #DB5A3A #BCDB3A
monochromatic
#183883 #214FB6 #3A6BDB #6E92E4 #A1B9EE

Accessibility & contrast

On white

4.88
#3A6BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#3A6BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6BDB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6BDB#FFFFFF#000000##FFFFFF
##3A6BDB1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2279DF
Deuteranopia (green-blind)
#006AD9
Tritanopia (blue-blind)
#008699
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a6bdb;
/* rgb */ color: rgb(58, 107, 219);
/* oklch */ color: oklch(55.6% 0.180 263.8);
Tailwind
colors: {
  custom: {
    50: '#8594e7',
    500: '#3a6bdb',
    950: '#000000',
  },
}
SCSS
$custom: #3a6bdb;
$custom-light: #8594e7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6bdb",
  "rgb": {
    "r": 58,
    "g": 107,
    "b": 219
  },
  "hsl": {
    "h": 221.739,
    "s": 69.099,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55645,
    "c": 0.17987,
    "h": 263.8
  },
  "luminance": 0.16529
}

Semantic roles & 50–950 ramp

primary
#3A6BDB
secondary
#DBC696
accent
#B63CEC
background
#F8F9FE
surface
#F0F1FC
border
#CBCBD5
text
#0D0D16
muted
#7D7E84

Preview Lab

Preview with #3A6BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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