#3A72CB#3A72CB

#3A72CB is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.0% C 0.150 H 259.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#3A72CB
RGBrgb(58, 114, 203)
HSLhsl(217, 58%, 51%)
HSVhsv(217, 71%, 80%)
CMYKcmyk(71.4%, 43.8%, 0%, 20.4%)
CIE-LABlab(48.57, 11.66, -51.58)
CIE-LCHlch(48.57, 52.89, 282.74°)
OKLaboklab(56.02% -0.0278 -0.1476)
OKLCHoklch(56.02% 0.15 259.3)
XYZxyz(18.5378, 17.2440, 58.8398)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A72CB #CB933A
analogous
#3ABACB #3A72CB #4A3ACB
triadic
#3A72CB #CB3A72 #72CB3A
tetradic
#3A72CB #CB3ABA #CB933A #3ACB4A
square
#3A72CB #CB3ABA #CB933A #3ACB4A
split-complementary
#3A72CB #CB4A3A #BACB3A
monochromatic
#1D3C6E #2A579E #3A72CB #6A95D8 #9BB7E5

Accessibility & contrast

On white

4.72
#3A72CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#3A72CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A72CB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A72CB#FFFFFF#000000##FFFFFF
##3A72CB1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#467BCE
Deuteranopia (green-blind)
#2B6DC9
Tritanopia (blue-blind)
#008794
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3a72cb;
/* rgb */ color: rgb(58, 114, 203);
/* oklch */ color: oklch(56.0% 0.150 259.3);
Tailwind
colors: {
  custom: {
    50: '#829adb',
    500: '#3a72cb',
    950: '#000000',
  },
}
SCSS
$custom: #3a72cb;
$custom-light: #829adb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a72cb",
  "rgb": {
    "r": 58,
    "g": 114,
    "b": 203
  },
  "hsl": {
    "h": 216.828,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56015,
    "c": 0.15018,
    "h": 259.3
  },
  "luminance": 0.17246
}

Semantic roles & 50–950 ramp

primary
#3A72CB
secondary
#D0B890
accent
#A646E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A72CB

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

Preview Lab → · Contrast checker → · Palette generator →

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