#3A68B2#3A68B2

#3A68B2 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.2% C 0.128 H 259.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#3A68B2
RGBrgb(58, 104, 178)
HSLhsl(217, 51%, 46%)
HSVhsv(217, 67%, 70%)
CMYKcmyk(67.4%, 41.6%, 0%, 30.2%)
CIE-LABlab(44.25, 8.85, -44.03)
CIE-LCHlch(44.25, 44.91, 281.37°)
OKLaboklab(52.2% -0.0233 -0.1255)
OKLCHoklch(52.2% 0.128 259.5)
XYZxyz(14.7282, 14.0131, 44.0395)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A68B2 #B2843A
analogous
#3AA4B2 #3A68B2 #483AB2
triadic
#3A68B2 #B23A68 #68B23A
tetradic
#3A68B2 #B23AA4 #B2843A #3AB248
square
#3A68B2 #B23AA4 #B2843A #3AB248
split-complementary
#3A68B2 #B2483A #A4B23A
monochromatic
#1C3256 #2B4D84 #3A68B2 #5F88CB #8DAADA

Accessibility & contrast

On white

5.52
#3A68B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#3A68B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A68B2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A68B2#FFFFFF#000000##FFFFFF
##3A68B21.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466FB5
Deuteranopia (green-blind)
#3363B0
Tritanopia (blue-blind)
#007984
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3a68b2;
/* rgb */ color: rgb(58, 104, 178);
/* oklch */ color: oklch(52.2% 0.128 259.5);
Tailwind
colors: {
  custom: {
    50: '#7d92c9',
    500: '#3a68b2',
    950: '#000000',
  },
}
SCSS
$custom: #3a68b2;
$custom-light: #7d92c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a68b2",
  "rgb": {
    "r": 58,
    "g": 104,
    "b": 178
  },
  "hsl": {
    "h": 217,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52204,
    "c": 0.12768,
    "h": 259.5
  },
  "luminance": 0.14015
}

Semantic roles & 50–950 ramp

primary
#3A68B2
secondary
#C4AB83
accent
#A44DDA
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0D13
muted
#7C7D82

Preview Lab

Preview with #3A68B2

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

Preview Lab → · Contrast checker → · Palette generator →

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