#3A72DB#3A72DB

#3A72DB is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.1% C 0.172 H 261.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#3A72DB
RGBrgb(58, 114, 219)
HSLhsl(219, 69%, 54%)
HSVhsv(219, 74%, 86%)
CMYKcmyk(73.5%, 47.9%, 0%, 14.1%)
CIE-LABlab(49.55, 17.51, -59.10)
CIE-LCHlch(49.55, 61.64, 286.51°)
OKLaboklab(57.09% -0.0252 -0.1697)
OKLCHoklch(57.09% 0.172 261.6)
XYZxyz(20.5438, 18.0464, 69.4047)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A72DB #DBA33A
analogous
#3AC3DB #3A72DB #523ADB
triadic
#3A72DB #DB3A72 #72DB3A
tetradic
#3A72DB #DB3AC3 #DBA33A #3ADB52
square
#3A72DB #DB3AC3 #DBA33A #3ADB52
split-complementary
#3A72DB #DB523A #C3DB3A
monochromatic
#183D83 #2155B6 #3A72DB #6E97E4 #A1BCEE

Accessibility & contrast

On white

4.56
#3A72DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#3A72DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A72DB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A72DB#FFFFFF#000000##000000
##3A72DB1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#377EDF
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#008B9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3a72db;
/* rgb */ color: rgb(58, 114, 219);
/* oklch */ color: oklch(57.1% 0.172 261.6);
Tailwind
colors: {
  custom: {
    50: '#8599e7',
    500: '#3a72db',
    950: '#000000',
  },
}
SCSS
$custom: #3a72db;
$custom-light: #8599e7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a72db",
  "rgb": {
    "r": 58,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 219.13,
    "s": 69.099,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57091,
    "c": 0.17155,
    "h": 261.6
  },
  "luminance": 0.18049
}

Semantic roles & 50–950 ramp

primary
#3A72DB
secondary
#DBC396
accent
#AF3CEC
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0D16
muted
#7D7E84

Preview Lab

Preview with #3A72DB

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

Preview Lab → · Contrast checker → · Palette generator →

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