#3A6EC8#3A6EC8

#3A6EC8 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 54.9% C 0.151 H 260.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#3A6EC8
RGBrgb(58, 110, 200)
HSLhsl(218, 56%, 51%)
HSVhsv(218, 71%, 78%)
CMYKcmyk(71%, 45%, 0%, 21.6%)
CIE-LABlab(47.26, 13.08, -51.96)
CIE-LCHlch(47.26, 53.58, 284.13°)
OKLaboklab(54.95% -0.0247 -0.1487)
OKLCHoklch(54.95% 0.151 260.6)
XYZxyz(17.7424, 16.2197, 56.8280)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6EC8 #C8943A
analogous
#3AB5C8 #3A6EC8 #4D3AC8
triadic
#3A6EC8 #C83A6E #6EC83A
tetradic
#3A6EC8 #C83AB5 #C8943A #3AC84D
square
#3A6EC8 #C83AB5 #C8943A #3AC84D
split-complementary
#3A6EC8 #C84D3A #B5C83A
monochromatic
#1E3A6A #2B549A #3A6EC8 #6A91D5 #9AB4E3

Accessibility & contrast

On white

4.95
#3A6EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#3A6EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6EC8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6EC8#FFFFFF#000000##FFFFFF
##3A6EC81.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4177CB
Deuteranopia (green-blind)
#256AC6
Tritanopia (blue-blind)
#008391
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a6ec8;
/* rgb */ color: rgb(58, 110, 200);
/* oklch */ color: oklch(54.9% 0.151 260.6);
Tailwind
colors: {
  custom: {
    50: '#8197d9',
    500: '#3a6ec8',
    950: '#000000',
  },
}
SCSS
$custom: #3a6ec8;
$custom-light: #8197d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6ec8",
  "rgb": {
    "r": 58,
    "g": 110,
    "b": 200
  },
  "hsl": {
    "h": 218.028,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5495,
    "c": 0.15079,
    "h": 260.6
  },
  "luminance": 0.16222
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A6EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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