#3A6CBA#3A6CBA

#3A6CBA is a mid, vivid blue. Relative luminance 0.152; OKLCH L 53.6% C 0.134 H 259.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#3A6CBA
RGBrgb(58, 108, 186)
HSLhsl(217, 52%, 48%)
HSVhsv(217, 69%, 73%)
CMYKcmyk(68.8%, 41.9%, 0%, 27.1%)
CIE-LABlab(45.86, 9.23, -46.11)
CIE-LCHlch(45.86, 47.03, 281.32°)
OKLaboklab(53.6% -0.0255 -0.1316)
OKLCHoklch(53.6% 0.134 259)
XYZxyz(15.9672, 15.1682, 48.5311)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6CBA #BA883A
analogous
#3AACBA #3A6CBA #483ABA
triadic
#3A6CBA #BA3A6C #6CBA3A
tetradic
#3A6CBA #BA3AAC #BA883A #3ABA48
square
#3A6CBA #BA3AAC #BA883A #3ABA48
split-complementary
#3A6CBA #BA483A #ACBA3A
monochromatic
#1D365D #2B518B #3A6CBA #638DCE #92AFDD

Accessibility & contrast

On white

5.21
#3A6CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#3A6CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6CBA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6CBA#FFFFFF#000000##FFFFFF
##3A6CBA1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4773BD
Deuteranopia (green-blind)
#3367B8
Tritanopia (blue-blind)
#007E8A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3a6cba;
/* rgb */ color: rgb(58, 108, 186);
/* oklch */ color: oklch(53.6% 0.134 259.0);
Tailwind
colors: {
  custom: {
    50: '#7f95cf',
    500: '#3a6cba',
    950: '#000000',
  },
}
SCSS
$custom: #3a6cba;
$custom-light: #7f95cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6cba",
  "rgb": {
    "r": 58,
    "g": 108,
    "b": 186
  },
  "hsl": {
    "h": 216.563,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53602,
    "c": 0.13407,
    "h": 259
  },
  "luminance": 0.1517
}

Semantic roles & 50–950 ramp

primary
#3A6CBA
secondary
#C8AF88
accent
#A44CDC
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3A6CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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