#3A61D9#3A61D9

#3A61D9 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.5% C 0.189 H 266.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#3A61D9
RGBrgb(58, 97, 217)
HSLhsl(225, 68%, 54%)
HSVhsv(225, 73%, 85%)
CMYKcmyk(73.3%, 55.3%, 0%, 14.9%)
CIE-LABlab(44.88, 27.56, -65.52)
CIE-LCHlch(44.88, 71.08, 292.81°)
OKLaboklab(53.5% -0.0121 -0.1889)
OKLCHoklch(53.5% 0.189 266.3)
XYZxyz(18.5396, 14.4567, 67.4455)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A61D9 #D9B23A
analogous
#3AB1D9 #3A61D9 #633AD9
triadic
#3A61D9 #D93A61 #61D93A
tetradic
#3A61D9 #D93AB1 #D9B23A #3AD963
square
#3A61D9 #D93AB1 #D9B23A #3AD963
split-complementary
#3A61D9 #D9633A #B1D93A
monochromatic
#193280 #2346B3 #3A61D9 #6D8AE3 #A1B3ED

Accessibility & contrast

On white

5.40
#3A61D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#3A61D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A61D9
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A61D9#FFFFFF#000000##FFFFFF
##3A61D91.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#0063D7
Tritanopia (blue-blind)
#007E93
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3a61d9;
/* rgb */ color: rgb(58, 97, 217);
/* oklch */ color: oklch(53.5% 0.189 266.3);
Tailwind
colors: {
  custom: {
    50: '#858de6',
    500: '#3a61d9',
    950: '#000000',
  },
}
SCSS
$custom: #3a61d9;
$custom-light: #858de6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a61d9",
  "rgb": {
    "r": 58,
    "g": 97,
    "b": 217
  },
  "hsl": {
    "h": 225.283,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53499,
    "c": 0.18925,
    "h": 266.3
  },
  "luminance": 0.14459
}

Semantic roles & 50–950 ramp

primary
#3A61D9
secondary
#D9C995
accent
#C03DEB
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0D0C16
muted
#7D7D84

Preview Lab

Preview with #3A61D9

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

Preview Lab → · Contrast checker → · Palette generator →

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