#3A6EBA#3A6EBA

#3A6EBA is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.0% C 0.132 H 258.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#3A6EBA
RGBrgb(58, 110, 186)
HSLhsl(216, 52%, 48%)
HSVhsv(216, 69%, 73%)
CMYKcmyk(68.8%, 40.9%, 0%, 27.1%)
CIE-LABlab(46.44, 7.98, -45.20)
CIE-LCHlch(46.44, 45.90, 280.01°)
OKLaboklab(54.05% -0.0275 -0.1289)
OKLCHoklch(54.05% 0.132 258)
XYZxyz(16.1806, 15.5949, 48.6022)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6EBA #BA863A
analogous
#3AAEBA #3A6EBA #463ABA
triadic
#3A6EBA #BA3A6E #6EBA3A
tetradic
#3A6EBA #BA3AAE #BA863A #3ABA46
square
#3A6EBA #BA3AAE #BA863A #3ABA46
split-complementary
#3A6EBA #BA463A #AEBA3A
monochromatic
#1D375D #2B528B #3A6EBA #638FCE #92B0DD

Accessibility & contrast

On white

5.10
#3A6EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#3A6EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6EBA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6EBA#FFFFFF#000000##FFFFFF
##3A6EBA1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B74BD
Deuteranopia (green-blind)
#3769B8
Tritanopia (blue-blind)
#00808B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a6eba;
/* rgb */ color: rgb(58, 110, 186);
/* oklch */ color: oklch(54.0% 0.132 258.0);
Tailwind
colors: {
  custom: {
    50: '#7e97cf',
    500: '#3a6eba',
    950: '#000000',
  },
}
SCSS
$custom: #3a6eba;
$custom-light: #7e97cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6eba",
  "rgb": {
    "r": 58,
    "g": 110,
    "b": 186
  },
  "hsl": {
    "h": 215.625,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54048,
    "c": 0.13179,
    "h": 258
  },
  "luminance": 0.15597
}

Semantic roles & 50–950 ramp

primary
#3A6EBA
secondary
#C8AE88
accent
#A14CDC
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3A6EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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