#3A72E3#3A72E3

#3A72E3 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.7% C 0.182 H 262.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#3A72E3
RGBrgb(58, 114, 227)
HSLhsl(220, 75%, 56%)
HSVhsv(220, 74%, 89%)
CMYKcmyk(74.4%, 49.8%, 0%, 11%)
CIE-LABlab(50.07, 20.44, -62.78)
CIE-LCHlch(50.07, 66.03, 288.04°)
OKLaboklab(57.65% -0.0241 -0.1805)
OKLCHoklch(57.65% 0.182 262.4)
XYZxyz(21.6224, 18.4778, 75.0852)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A72E3 #E3AB3A
analogous
#3AC7E3 #3A72E3 #563AE3
triadic
#3A72E3 #E33A72 #72E33A
tetradic
#3A72E3 #E33AC7 #E3AB3A #3AE356
square
#3A72E3 #E33AC7 #E3AB3A #3AE356
split-complementary
#3A72E3 #E3563A #C7E33A
monochromatic
#143D8E #1C54C4 #3A72E3 #7098EB #A5BFF2

Accessibility & contrast

On white

4.47
#3A72E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#3A72E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A72E3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A72E3#FFFFFF#000000##000000
##3A72E31.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7FE7
Deuteranopia (green-blind)
#0070E1
Tritanopia (blue-blind)
#008DA0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3a72e3;
/* rgb */ color: rgb(58, 114, 227);
/* oklch */ color: oklch(57.7% 0.182 262.4);
Tailwind
colors: {
  custom: {
    50: '#8699ec',
    500: '#3a72e3',
    950: '#000000',
  },
}
SCSS
$custom: #3a72e3;
$custom-light: #8699ec;
$custom-dark: #000000;
JSON
{
  "hex": "#3a72e3",
  "rgb": {
    "r": 58,
    "g": 114,
    "b": 227
  },
  "hsl": {
    "h": 220.118,
    "s": 75.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57653,
    "c": 0.18213,
    "h": 262.4
  },
  "luminance": 0.1848
}

Semantic roles & 50–950 ramp

primary
#3A72E3
secondary
#DFC899
accent
#B436F2
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #3A72E3

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

Preview Lab → · Contrast checker → · Palette generator →

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