#3A61B4#3A61B4

#3A61B4 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.8% C 0.139 H 263.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#3A61B4
RGBrgb(58, 97, 180)
HSLhsl(221, 51%, 47%)
HSVhsv(221, 68%, 71%)
CMYKcmyk(67.8%, 46.1%, 0%, 29.4%)
CIE-LABlab(42.37, 14.04, -48.20)
CIE-LCHlch(42.37, 50.20, 286.24°)
OKLaboklab(50.8% -0.0161 -0.1379)
OKLCHoklch(50.8% 0.139 263.4)
XYZxyz(14.2549, 12.7428, 44.8795)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A61B4 #B48D3A
analogous
#3A9EB4 #3A61B4 #503AB4
triadic
#3A61B4 #B43A61 #61B43A
tetradic
#3A61B4 #B43A9E #B48D3A #3AB450
square
#3A61B4 #B43A9E #B48D3A #3AB450
split-complementary
#3A61B4 #B4503A #9EB43A
monochromatic
#1C2F57 #2B4886 #3A61B4 #6082CC #8EA6DB

Accessibility & contrast

On white

5.92
#3A61B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#3A61B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A61B4
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A61B4#FFFFFF#000000##FFFFFF
##3A61B41.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376AB7
Deuteranopia (green-blind)
#205FB2
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a61b4;
/* rgb */ color: rgb(58, 97, 180);
/* oklch */ color: oklch(50.8% 0.139 263.4);
Tailwind
colors: {
  custom: {
    50: '#7e8dcb',
    500: '#3a61b4',
    950: '#000000',
  },
}
SCSS
$custom: #3a61b4;
$custom-light: #7e8dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a61b4",
  "rgb": {
    "r": 58,
    "g": 97,
    "b": 180
  },
  "hsl": {
    "h": 220.82,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50795,
    "c": 0.13884,
    "h": 263.4
  },
  "luminance": 0.12744
}

Semantic roles & 50–950 ramp

primary
#3A61B4
secondary
#C5B185
accent
#AD4DDB
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3A61B4

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

Preview Lab → · Contrast checker → · Palette generator →

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