#3A72CC#3A72CC

#3A72CC is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.1% C 0.152 H 259.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#3A72CC
RGBrgb(58, 114, 204)
HSLhsl(217, 59%, 51%)
HSVhsv(217, 72%, 80%)
CMYKcmyk(71.6%, 44.1%, 0%, 20%)
CIE-LABlab(48.63, 12.03, -52.06)
CIE-LCHlch(48.63, 53.43, 283.01°)
OKLaboklab(56.08% -0.0276 -0.149)
OKLCHoklch(56.08% 0.152 259.5)
XYZxyz(18.6574, 17.2918, 59.4694)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A72CC #CC943A
analogous
#3ABBCC #3A72CC #4B3ACC
triadic
#3A72CC #CC3A72 #72CC3A
tetradic
#3A72CC #CC3ABB #CC943A #3ACC4B
square
#3A72CC #CC3ABB #CC943A #3ACC4B
split-complementary
#3A72CC #CC4B3A #BBCC3A
monochromatic
#1D3C6F #2957A0 #3A72CC #6B95D9 #9BB8E5

Accessibility & contrast

On white

4.71
#3A72CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#3A72CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A72CC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A72CC#FFFFFF#000000##FFFFFF
##3A72CC1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#457BCF
Deuteranopia (green-blind)
#2A6DCA
Tritanopia (blue-blind)
#008795
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3a72cc;
/* rgb */ color: rgb(58, 114, 204);
/* oklch */ color: oklch(56.1% 0.152 259.5);
Tailwind
colors: {
  custom: {
    50: '#829adc',
    500: '#3a72cc',
    950: '#000000',
  },
}
SCSS
$custom: #3a72cc;
$custom-light: #829adc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a72cc",
  "rgb": {
    "r": 58,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 216.986,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5608,
    "c": 0.15153,
    "h": 259.5
  },
  "luminance": 0.17294
}

Semantic roles & 50–950 ramp

primary
#3A72CC
secondary
#D1B891
accent
#A646E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A72CC

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

Preview Lab → · Contrast checker → · Palette generator →

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