#3A61C8#3A61C8

#3A61C8 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.2% C 0.166 H 265.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#3A61C8
RGBrgb(58, 97, 200)
HSLhsl(224, 56%, 51%)
HSVhsv(224, 71%, 78%)
CMYKcmyk(71%, 51.5%, 0%, 21.6%)
CIE-LABlab(43.68, 21.35, -57.72)
CIE-LCHlch(43.68, 61.54, 290.30°)
OKLaboklab(52.21% -0.0134 -0.1659)
OKLCHoklch(52.21% 0.166 265.4)
XYZxyz(16.4413, 13.6174, 56.3943)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A61C8 #C8A13A
analogous
#3AA8C8 #3A61C8 #5A3AC8
triadic
#3A61C8 #C83A61 #61C83A
tetradic
#3A61C8 #C83AA8 #C8A13A #3AC85A
square
#3A61C8 #C83AA8 #C8A13A #3AC85A
split-complementary
#3A61C8 #C85A3A #A8C83A
monochromatic
#1E336A #2B499A #3A61C8 #6A87D5 #9AAEE3

Accessibility & contrast

On white

5.64
#3A61C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#3A61C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A61C8
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A61C8#FFFFFF#000000##FFFFFF
##3A61C81.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6ECC
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#007A8B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3a61c8;
/* rgb */ color: rgb(58, 97, 200);
/* oklch */ color: oklch(52.2% 0.166 265.4);
Tailwind
colors: {
  custom: {
    50: '#828dd9',
    500: '#3a61c8',
    950: '#000000',
  },
}
SCSS
$custom: #3a61c8;
$custom-light: #828dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a61c8",
  "rgb": {
    "r": 58,
    "g": 97,
    "b": 200
  },
  "hsl": {
    "h": 223.521,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5221,
    "c": 0.16647,
    "h": 265.4
  },
  "luminance": 0.13619
}

Semantic roles & 50–950 ramp

primary
#3A61C8
secondary
#CEBD8F
accent
#B648E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3A61C8

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

Preview Lab → · Contrast checker → · Palette generator →

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