#3A72CF#3A72CF

#3A72CF is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.3% C 0.156 H 260.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#3A72CF
RGBrgb(58, 114, 207)
HSLhsl(217, 61%, 52%)
HSVhsv(217, 72%, 81%)
CMYKcmyk(72%, 44.9%, 0%, 18.8%)
CIE-LABlab(48.81, 13.12, -53.48)
CIE-LCHlch(48.81, 55.07, 283.79°)
OKLaboklab(56.28% -0.0271 -0.1532)
OKLCHoklch(56.28% 0.156 260)
XYZxyz(19.0207, 17.4371, 61.3827)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A72CF #CF973A
analogous
#3ABCCF #3A72CF #4D3ACF
triadic
#3A72CF #CF3A72 #72CF3A
tetradic
#3A72CF #CF3ABC #CF973A #3ACF4D
square
#3A72CF #CF3ABC #CF973A #3ACF4D
split-complementary
#3A72CF #CF4D3A #BCCF3A
monochromatic
#1C3D73 #2857A4 #3A72CF #6B95DB #9CB8E7

Accessibility & contrast

On white

4.68
#3A72CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#3A72CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A72CF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A72CF#FFFFFF#000000##FFFFFF
##3A72CF1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#437BD3
Deuteranopia (green-blind)
#256ECD
Tritanopia (blue-blind)
#008896
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3a72cf;
/* rgb */ color: rgb(58, 114, 207);
/* oklch */ color: oklch(56.3% 0.156 260.0);
Tailwind
colors: {
  custom: {
    50: '#829ade',
    500: '#3a72cf',
    950: '#000000',
  },
}
SCSS
$custom: #3a72cf;
$custom-light: #829ade;
$custom-dark: #000000;
JSON
{
  "hex": "#3a72cf",
  "rgb": {
    "r": 58,
    "g": 114,
    "b": 207
  },
  "hsl": {
    "h": 217.45,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56277,
    "c": 0.15554,
    "h": 260
  },
  "luminance": 0.17439
}

Semantic roles & 50–950 ramp

primary
#3A72CF
secondary
#D3BA92
accent
#A844E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A72CF

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

Preview Lab → · Contrast checker → · Palette generator →

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