#3A6EC9#3A6EC9

#3A6EC9 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.0% C 0.152 H 260.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#3A6EC9
RGBrgb(58, 110, 201)
HSLhsl(218, 57%, 51%)
HSVhsv(218, 71%, 79%)
CMYKcmyk(71.1%, 45.3%, 0%, 21.2%)
CIE-LABlab(47.32, 13.44, -52.43)
CIE-LCHlch(47.32, 54.13, 284.38°)
OKLaboklab(55.02% -0.0246 -0.1501)
OKLCHoklch(55.02% 0.152 260.7)
XYZxyz(17.8597, 16.2666, 57.4455)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6EC9 #C9953A
analogous
#3AB5C9 #3A6EC9 #4D3AC9
triadic
#3A6EC9 #C93A6E #6EC93A
tetradic
#3A6EC9 #C93AB5 #C9953A #3AC94D
square
#3A6EC9 #C93AB5 #C9953A #3AC94D
split-complementary
#3A6EC9 #C94D3A #B5C93A
monochromatic
#1D3A6B #2B549B #3A6EC9 #6A91D6 #9AB5E3

Accessibility & contrast

On white

4.94
#3A6EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#3A6EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6EC9
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6EC9#FFFFFF#000000##FFFFFF
##3A6EC91.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4077CC
Deuteranopia (green-blind)
#236AC7
Tritanopia (blue-blind)
#008392
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a6ec9;
/* rgb */ color: rgb(58, 110, 201);
/* oklch */ color: oklch(55.0% 0.152 260.7);
Tailwind
colors: {
  custom: {
    50: '#8197da',
    500: '#3a6ec9',
    950: '#000000',
  },
}
SCSS
$custom: #3a6ec9;
$custom-light: #8197da;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6ec9",
  "rgb": {
    "r": 58,
    "g": 110,
    "b": 201
  },
  "hsl": {
    "h": 218.182,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55017,
    "c": 0.15215,
    "h": 260.7
  },
  "luminance": 0.16268
}

Semantic roles & 50–950 ramp

primary
#3A6EC9
secondary
#CFB890
accent
#A948E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A6EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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