#3A72CD#3A72CD

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

Color values

HEX#3A72CD
RGBrgb(58, 114, 205)
HSLhsl(217, 60%, 52%)
HSVhsv(217, 72%, 80%)
CMYKcmyk(71.7%, 44.4%, 0%, 19.6%)
CIE-LABlab(48.69, 12.39, -52.54)
CIE-LCHlch(48.69, 53.98, 283.27°)
OKLaboklab(56.15% -0.0274 -0.1504)
OKLCHoklch(56.15% 0.153 259.7)
XYZxyz(18.7777, 17.3399, 60.1031)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A72CD #CD953A
analogous
#3ABCCD #3A72CD #4C3ACD
triadic
#3A72CD #CD3A72 #72CD3A
tetradic
#3A72CD #CD3ABC #CD953A #3ACD4C
square
#3A72CD #CD3ABC #CD953A #3ACD4C
split-complementary
#3A72CD #CD4C3A #BCCD3A
monochromatic
#1C3C70 #2957A1 #3A72CD #6B95D9 #9CB8E6

Accessibility & contrast

On white

4.70
#3A72CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#3A72CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A72CD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A72CD#FFFFFF#000000##FFFFFF
##3A72CD1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#447BD0
Deuteranopia (green-blind)
#286DCB
Tritanopia (blue-blind)
#008795
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3a72cd;
/* rgb */ color: rgb(58, 114, 205);
/* oklch */ color: oklch(56.1% 0.153 259.7);
Tailwind
colors: {
  custom: {
    50: '#829add',
    500: '#3a72cd',
    950: '#000000',
  },
}
SCSS
$custom: #3a72cd;
$custom-light: #829add;
$custom-dark: #000000;
JSON
{
  "hex": "#3a72cd",
  "rgb": {
    "r": 58,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 217.143,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56145,
    "c": 0.15286,
    "h": 259.7
  },
  "luminance": 0.17342
}

Semantic roles & 50–950 ramp

primary
#3A72CD
secondary
#D2B991
accent
#A745E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A72CD

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

Preview Lab → · Contrast checker → · Palette generator →

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