#3A61BB#3A61BB

#3A61BB is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.3% C 0.149 H 264.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#3A61BB
RGBrgb(58, 97, 187)
HSLhsl(222, 53%, 48%)
HSVhsv(222, 69%, 73%)
CMYKcmyk(69%, 48.1%, 0%, 26.7%)
CIE-LABlab(42.82, 16.60, -51.58)
CIE-LCHlch(42.82, 54.18, 287.84°)
OKLaboklab(51.28% -0.015 -0.1478)
OKLCHoklch(51.28% 0.149 264.2)
XYZxyz(14.9861, 13.0353, 48.7304)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A61BB #BB943A
analogous
#3AA2BB #3A61BB #533ABB
triadic
#3A61BB #BB3A61 #61BB3A
tetradic
#3A61BB #BB3AA2 #BB943A #3ABB53
square
#3A61BB #BB3AA2 #BB943A #3ABB53
split-complementary
#3A61BB #BB533A #A2BB3A
monochromatic
#1D315E #2C498C #3A61BB #6384CF #92A9DD

Accessibility & contrast

On white

5.82
#3A61BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#3A61BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A61BB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A61BB#FFFFFF#000000##FFFFFF
##3A61BB1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316BBE
Deuteranopia (green-blind)
#1060B9
Tritanopia (blue-blind)
#007685
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3a61bb;
/* rgb */ color: rgb(58, 97, 187);
/* oklch */ color: oklch(51.3% 0.149 264.2);
Tailwind
colors: {
  custom: {
    50: '#7f8dd0',
    500: '#3a61bb',
    950: '#000000',
  },
}
SCSS
$custom: #3a61bb;
$custom-light: #7f8dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a61bb",
  "rgb": {
    "r": 58,
    "g": 97,
    "b": 187
  },
  "hsl": {
    "h": 221.86,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51277,
    "c": 0.1486,
    "h": 264.2
  },
  "luminance": 0.13037
}

Semantic roles & 50–950 ramp

primary
#3A61BB
secondary
#C8B588
accent
#B04CDC
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3A61BB

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

Preview Lab → · Contrast checker → · Palette generator →

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