#3071DA#3071DA

#3071DA is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.5% C 0.174 H 259.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#3071DA
RGBrgb(48, 113, 218)
HSLhsl(217, 70%, 52%)
HSVhsv(217, 78%, 85%)
CMYKcmyk(78%, 48.2%, 0%, 14.5%)
CIE-LABlab(48.88, 16.61, -59.63)
CIE-LCHlch(48.88, 61.90, 285.56°)
OKLaboklab(56.46% -0.0311 -0.1714)
OKLCHoklch(56.46% 0.174 259.7)
XYZxyz(19.7743, 17.4983, 68.6514)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3071DA #DA9930
analogous
#30C6DA #3071DA #4430DA
triadic
#3071DA #DA3071 #71DA30
tetradic
#3071DA #DA30C6 #DA9930 #30DA44
square
#3071DA #DA30C6 #DA9930 #30DA44
split-complementary
#3071DA #DA4430 #C6DA30
monochromatic
#163C7A #1F56AE #3071DA #6495E3 #98B8ED

Accessibility & contrast

On white

4.67
#3071DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#3071DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3071DA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3071DA#FFFFFF#000000##FFFFFF
##3071DA1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#347CDE
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3071da;
/* rgb */ color: rgb(48, 113, 218);
/* oklch */ color: oklch(56.5% 0.174 259.7);
Tailwind
colors: {
  custom: {
    50: '#8199e6',
    500: '#3071da',
    950: '#000000',
  },
}
SCSS
$custom: #3071da;
$custom-light: #8199e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3071da",
  "rgb": {
    "r": 48,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 217.059,
    "s": 69.672,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56463,
    "c": 0.17424,
    "h": 259.7
  },
  "luminance": 0.17501
}

Semantic roles & 50–950 ramp

primary
#3071DA
secondary
#D8BC8E
accent
#A93BEC
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0D16
muted
#7D7E84

Preview Lab

Preview with #3071DA

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

Preview Lab → · Contrast checker → · Palette generator →

#3071DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva