#3A6BC9#3A6BC9

#3A6BC9 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.4% C 0.156 H 261.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#3A6BC9
RGBrgb(58, 107, 201)
HSLhsl(219, 57%, 51%)
HSVhsv(219, 71%, 79%)
CMYKcmyk(71.1%, 46.8%, 0%, 21.2%)
CIE-LABlab(46.49, 15.34, -53.77)
CIE-LCHlch(46.49, 55.92, 285.92°)
OKLaboklab(54.37% -0.0219 -0.1541)
OKLCHoklch(54.37% 0.156 261.9)
XYZxyz(17.5415, 15.6301, 57.3395)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6BC9 #C9983A
analogous
#3AB2C9 #3A6BC9 #513AC9
triadic
#3A6BC9 #C93A6B #6BC93A
tetradic
#3A6BC9 #C93AB2 #C9983A #3AC951
square
#3A6BC9 #C93AB2 #C9983A #3AC951
split-complementary
#3A6BC9 #C9513A #B2C93A
monochromatic
#1D386B #2B519B #3A6BC9 #6A8FD6 #9AB3E3

Accessibility & contrast

On white

5.09
#3A6BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#3A6BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6BC9
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6BC9#FFFFFF#000000##FFFFFF
##3A6BC91.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3975CD
Deuteranopia (green-blind)
#1868C7
Tritanopia (blue-blind)
#008190
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a6bc9;
/* rgb */ color: rgb(58, 107, 201);
/* oklch */ color: oklch(54.4% 0.156 261.9);
Tailwind
colors: {
  custom: {
    50: '#8194da',
    500: '#3a6bc9',
    950: '#000000',
  },
}
SCSS
$custom: #3a6bc9;
$custom-light: #8194da;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6bc9",
  "rgb": {
    "r": 58,
    "g": 107,
    "b": 201
  },
  "hsl": {
    "h": 219.441,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54373,
    "c": 0.1557,
    "h": 261.9
  },
  "luminance": 0.15632
}

Semantic roles & 50–950 ramp

primary
#3A6BC9
secondary
#CFB990
accent
#AC48E0
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A6BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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