#3A72C8#3A72C8

#3A72C8 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 55.8% C 0.146 H 258.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#3A72C8
RGBrgb(58, 114, 200)
HSLhsl(216, 56%, 51%)
HSVhsv(216, 71%, 78%)
CMYKcmyk(71%, 43%, 0%, 21.6%)
CIE-LABlab(48.39, 10.57, -50.15)
CIE-LCHlch(48.39, 51.25, 281.90°)
OKLaboklab(55.82% -0.0284 -0.1434)
OKLCHoklch(55.82% 0.146 258.8)
XYZxyz(18.1838, 17.1024, 56.9751)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A72C8 #C8903A
analogous
#3AB9C8 #3A72C8 #493AC8
triadic
#3A72C8 #C83A72 #72C83A
tetradic
#3A72C8 #C83AB9 #C8903A #3AC849
square
#3A72C8 #C83AB9 #C8903A #3AC849
split-complementary
#3A72C8 #C8493A #B9C83A
monochromatic
#1E3C6A #2B579A #3A72C8 #6A94D5 #9AB6E3

Accessibility & contrast

On white

4.75
#3A72C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#3A72C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A72C8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A72C8#FFFFFF#000000##FFFFFF
##3A72C81.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#487ACB
Deuteranopia (green-blind)
#2F6DC6
Tritanopia (blue-blind)
#008693
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3a72c8;
/* rgb */ color: rgb(58, 114, 200);
/* oklch */ color: oklch(55.8% 0.146 258.8);
Tailwind
colors: {
  custom: {
    50: '#819ad9',
    500: '#3a72c8',
    950: '#000000',
  },
}
SCSS
$custom: #3a72c8;
$custom-light: #819ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a72c8",
  "rgb": {
    "r": 58,
    "g": 114,
    "b": 200
  },
  "hsl": {
    "h": 216.338,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5582,
    "c": 0.14615,
    "h": 258.8
  },
  "luminance": 0.17104
}

Semantic roles & 50–950 ramp

primary
#3A72C8
secondary
#CEB68F
accent
#A448E0
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A72C8

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

Preview Lab → · Contrast checker → · Palette generator →

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