#3A61BA#3A61BA

#3A61BA is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.2% C 0.147 H 264.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#3A61BA
RGBrgb(58, 97, 186)
HSLhsl(222, 52%, 48%)
HSVhsv(222, 69%, 73%)
CMYKcmyk(68.8%, 47.8%, 0%, 27.1%)
CIE-LABlab(42.75, 16.23, -51.10)
CIE-LCHlch(42.75, 53.61, 287.63°)
OKLaboklab(51.21% -0.0151 -0.1464)
OKLCHoklch(51.21% 0.147 264.1)
XYZxyz(14.8794, 12.9926, 48.1685)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A61BA #BA933A
analogous
#3AA1BA #3A61BA #533ABA
triadic
#3A61BA #BA3A61 #61BA3A
tetradic
#3A61BA #BA3AA1 #BA933A #3ABA53
square
#3A61BA #BA3AA1 #BA933A #3ABA53
split-complementary
#3A61BA #BA533A #A1BA3A
monochromatic
#1D305D #2B498B #3A61BA #6384CE #92A8DD

Accessibility & contrast

On white

5.84
#3A61BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3A61BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A61BA
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A61BA#FFFFFF#000000##FFFFFF
##3A61BA1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326BBD
Deuteranopia (green-blind)
#135FB8
Tritanopia (blue-blind)
#007684
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3a61ba;
/* rgb */ color: rgb(58, 97, 186);
/* oklch */ color: oklch(51.2% 0.147 264.1);
Tailwind
colors: {
  custom: {
    50: '#7f8dcf',
    500: '#3a61ba',
    950: '#000000',
  },
}
SCSS
$custom: #3a61ba;
$custom-light: #7f8dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a61ba",
  "rgb": {
    "r": 58,
    "g": 97,
    "b": 186
  },
  "hsl": {
    "h": 221.719,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51207,
    "c": 0.14721,
    "h": 264.1
  },
  "luminance": 0.12994
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A61BA

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

Preview Lab → · Contrast checker → · Palette generator →

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