#3A61E2#3A61E2

#3A61E2 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.2% C 0.201 H 266.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#3A61E2
RGBrgb(58, 97, 226)
HSLhsl(226, 74%, 56%)
HSVhsv(226, 74%, 89%)
CMYKcmyk(74.3%, 57.1%, 0%, 11.4%)
CIE-LABlab(45.55, 30.82, -69.55)
CIE-LCHlch(45.55, 76.07, 293.90°)
OKLaboklab(54.21% -0.0116 -0.2007)
OKLCHoklch(54.21% 0.201 266.7)
XYZxyz(19.7423, 14.9378, 73.7796)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A61E2 #E2BB3A
analogous
#3AB5E2 #3A61E2 #673AE2
triadic
#3A61E2 #E23A61 #61E23A
tetradic
#3A61E2 #E23AB5 #E2BB3A #3AE267
square
#3A61E2 #E23AB5 #E2BB3A #3AE267
split-complementary
#3A61E2 #E2673A #B5E23A
monochromatic
#15318D #1D43C2 #3A61E2 #6F8CEA #A5B7F2

Accessibility & contrast

On white

5.27
#3A61E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#3A61E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A61E2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A61E2#FFFFFF#000000##FFFFFF
##3A61E21.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#0064DF
Tritanopia (blue-blind)
#008198
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3a61e2;
/* rgb */ color: rgb(58, 97, 226);
/* oklch */ color: oklch(54.2% 0.201 266.7);
Tailwind
colors: {
  custom: {
    50: '#878dec',
    500: '#3a61e2',
    950: '#000000',
  },
}
SCSS
$custom: #3a61e2;
$custom-light: #878dec;
$custom-dark: #000000;
JSON
{
  "hex": "#3a61e2",
  "rgb": {
    "r": 58,
    "g": 97,
    "b": 226
  },
  "hsl": {
    "h": 226.071,
    "s": 74.336,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5421,
    "c": 0.20105,
    "h": 266.7
  },
  "luminance": 0.1494
}

Semantic roles & 50–950 ramp

primary
#3A61E2
secondary
#DFCF99
accent
#C637F1
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3A61E2

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

Preview Lab → · Contrast checker → · Palette generator →

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