#3A6FC8#3A6FC8

#3A6FC8 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.2% C 0.150 H 260.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#3A6FC8
RGBrgb(58, 111, 200)
HSLhsl(218, 56%, 51%)
HSVhsv(218, 71%, 78%)
CMYKcmyk(71%, 44.5%, 0%, 21.6%)
CIE-LABlab(47.54, 12.45, -51.51)
CIE-LCHlch(47.54, 52.99, 283.59°)
OKLaboklab(55.17% -0.0256 -0.1474)
OKLCHoklch(55.17% 0.15 260.1)
XYZxyz(17.8509, 16.4367, 56.8642)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6FC8 #C8933A
analogous
#3AB6C8 #3A6FC8 #4C3AC8
triadic
#3A6FC8 #C83A6F #6FC83A
tetradic
#3A6FC8 #C83AB6 #C8933A #3AC84C
square
#3A6FC8 #C83AB6 #C8933A #3AC84C
split-complementary
#3A6FC8 #C84C3A #B6C83A
monochromatic
#1E3A6A #2B549A #3A6FC8 #6A92D5 #9AB5E3

Accessibility & contrast

On white

4.90
#3A6FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#3A6FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6FC8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6FC8#FFFFFF#000000##FFFFFF
##3A6FC81.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4378CB
Deuteranopia (green-blind)
#276BC6
Tritanopia (blue-blind)
#008492
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a6fc8;
/* rgb */ color: rgb(58, 111, 200);
/* oklch */ color: oklch(55.2% 0.150 260.1);
Tailwind
colors: {
  custom: {
    50: '#8197d9',
    500: '#3a6fc8',
    950: '#000000',
  },
}
SCSS
$custom: #3a6fc8;
$custom-light: #8197d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6fc8",
  "rgb": {
    "r": 58,
    "g": 111,
    "b": 200
  },
  "hsl": {
    "h": 217.606,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55167,
    "c": 0.14962,
    "h": 260.1
  },
  "luminance": 0.16439
}

Semantic roles & 50–950 ramp

primary
#3A6FC8
secondary
#CEB78F
accent
#A748E0
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A6FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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