#3A6FCA#3A6FCA

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

Color values

HEX#3A6FCA
RGBrgb(58, 111, 202)
HSLhsl(218, 58%, 51%)
HSVhsv(218, 71%, 79%)
CMYKcmyk(71.3%, 45%, 0%, 20.8%)
CIE-LABlab(47.66, 13.18, -52.46)
CIE-LCHlch(47.66, 54.09, 284.10°)
OKLaboklab(55.3% -0.0253 -0.1502)
OKLCHoklch(55.3% 0.152 260.4)
XYZxyz(18.0862, 16.5308, 58.1032)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6FCA #CA953A
analogous
#3AB7CA #3A6FCA #4D3ACA
triadic
#3A6FCA #CA3A6F #6FCA3A
tetradic
#3A6FCA #CA3AB7 #CA953A #3ACA4D
square
#3A6FCA #CA3AB7 #CA953A #3ACA4D
split-complementary
#3A6FCA #CA4D3A #B7CA3A
monochromatic
#1D3A6C #2A549D #3A6FCA #6A92D7 #9AB6E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A6FCA#FFFFFF#000000##FFFFFF
##3A6FCA1.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)
#4178CD
Deuteranopia (green-blind)
#246BC8
Tritanopia (blue-blind)
#008492
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a6fca;
/* rgb */ color: rgb(58, 111, 202);
/* oklch */ color: oklch(55.3% 0.152 260.4);
Tailwind
colors: {
  custom: {
    50: '#8197db',
    500: '#3a6fca',
    950: '#000000',
  },
}
SCSS
$custom: #3a6fca;
$custom-light: #8197db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6fca",
  "rgb": {
    "r": 58,
    "g": 111,
    "b": 202
  },
  "hsl": {
    "h": 217.917,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55299,
    "c": 0.15232,
    "h": 260.4
  },
  "luminance": 0.16533
}

Semantic roles & 50–950 ramp

primary
#3A6FCA
secondary
#D0B890
accent
#A847E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A6FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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