#3A6ECB#3A6ECB

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

Color values

HEX#3A6ECB
RGBrgb(58, 110, 203)
HSLhsl(218, 58%, 51%)
HSVhsv(218, 71%, 80%)
CMYKcmyk(71.4%, 45.8%, 0%, 20.4%)
CIE-LABlab(47.45, 14.17, -53.38)
CIE-LCHlch(47.45, 55.23, 284.87°)
OKLaboklab(55.15% -0.0242 -0.1529)
OKLCHoklch(55.15% 0.155 261)
XYZxyz(18.0965, 16.3613, 58.6927)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6ECB #CB973A
analogous
#3AB6CB #3A6ECB #4E3ACB
triadic
#3A6ECB #CB3A6E #6ECB3A
tetradic
#3A6ECB #CB3AB6 #CB973A #3ACB4E
square
#3A6ECB #CB3AB6 #CB973A #3ACB4E
split-complementary
#3A6ECB #CB4E3A #B6CB3A
monochromatic
#1D3A6E #2A539E #3A6ECB #6A92D8 #9BB5E5

Accessibility & contrast

On white

4.92
#3A6ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#3A6ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6ECB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6ECB#FFFFFF#000000##FFFFFF
##3A6ECB1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E78CF
Deuteranopia (green-blind)
#1F6AC9
Tritanopia (blue-blind)
#008492
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a6ecb;
/* rgb */ color: rgb(58, 110, 203);
/* oklch */ color: oklch(55.2% 0.155 261.0);
Tailwind
colors: {
  custom: {
    50: '#8297db',
    500: '#3a6ecb',
    950: '#000000',
  },
}
SCSS
$custom: #3a6ecb;
$custom-light: #8297db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6ecb",
  "rgb": {
    "r": 58,
    "g": 110,
    "b": 203
  },
  "hsl": {
    "h": 218.483,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55151,
    "c": 0.15485,
    "h": 261
  },
  "luminance": 0.16363
}

Semantic roles & 50–950 ramp

primary
#3A6ECB
secondary
#D0B990
accent
#AA46E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A6ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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