#3A61BC#3A61BC

#3A61BC is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.3% C 0.150 H 264.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#3A61BC
RGBrgb(58, 97, 188)
HSLhsl(222, 53%, 48%)
HSVhsv(222, 69%, 74%)
CMYKcmyk(69.1%, 48.4%, 0%, 26.3%)
CIE-LABlab(42.88, 16.96, -52.05)
CIE-LCHlch(42.88, 54.75, 288.05°)
OKLaboklab(51.35% -0.0148 -0.1492)
OKLCHoklch(51.35% 0.15 264.3)
XYZxyz(15.0935, 13.0782, 49.2961)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A61BC #BC953A
analogous
#3AA2BC #3A61BC #543ABC
triadic
#3A61BC #BC3A61 #61BC3A
tetradic
#3A61BC #BC3AA2 #BC953A #3ABC54
square
#3A61BC #BC3AA2 #BC953A #3ABC54
split-complementary
#3A61BC #BC543A #A2BC3A
monochromatic
#1D315E #2C498D #3A61BC #6484CF #93A9DE

Accessibility & contrast

On white

5.81
#3A61BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#3A61BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A61BC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A61BC#FFFFFF#000000##FFFFFF
##3A61BC1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306CBF
Deuteranopia (green-blind)
#0C60BA
Tritanopia (blue-blind)
#007685
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3a61bc;
/* rgb */ color: rgb(58, 97, 188);
/* oklch */ color: oklch(51.3% 0.150 264.3);
Tailwind
colors: {
  custom: {
    50: '#7f8dd1',
    500: '#3a61bc',
    950: '#000000',
  },
}
SCSS
$custom: #3a61bc;
$custom-light: #7f8dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a61bc",
  "rgb": {
    "r": 58,
    "g": 97,
    "b": 188
  },
  "hsl": {
    "h": 222,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51347,
    "c": 0.14999,
    "h": 264.3
  },
  "luminance": 0.1308
}

Semantic roles & 50–950 ramp

primary
#3A61BC
secondary
#C9B689
accent
#B14CDC
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3A61BC

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

Preview Lab → · Contrast checker → · Palette generator →

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