#3071B4#3071B4

#3071B4 is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.0% C 0.124 H 251.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#3071B4
RGBrgb(48, 113, 180)
HSLhsl(210, 58%, 45%)
HSVhsv(210, 73%, 71%)
CMYKcmyk(73.3%, 37.2%, 0%, 29.4%)
CIE-LABlab(46.62, 2.42, -41.45)
CIE-LCHlch(46.62, 41.52, 273.35°)
OKLaboklab(53.98% -0.0388 -0.118)
OKLCHoklch(53.98% 0.124 251.8)
XYZxyz(15.3592, 15.7322, 45.3983)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3071B4 #B47330
analogous
#30B3B4 #3071B4 #3130B4
triadic
#3071B4 #B43071 #71B430
tetradic
#3071B4 #B430B3 #B47330 #30B431
square
#3071B4 #B430B3 #B47330 #30B431
split-complementary
#3071B4 #B43130 #B3B430
monochromatic
#163453 #235384 #3071B4 #5190D1 #81AEDD

Accessibility & contrast

On white

5.06
#3071B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#3071B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3071B4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3071B4#FFFFFF#000000##FFFFFF
##3071B41.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5275B7
Deuteranopia (green-blind)
#3E69B3
Tritanopia (blue-blind)
#00818A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3071b4;
/* rgb */ color: rgb(48, 113, 180);
/* oklch */ color: oklch(54.0% 0.124 251.8);
Tailwind
colors: {
  custom: {
    50: '#7999cb',
    500: '#3071b4',
    950: '#000000',
  },
}
SCSS
$custom: #3071b4;
$custom-light: #7999cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3071b4",
  "rgb": {
    "r": 48,
    "g": 113,
    "b": 180
  },
  "hsl": {
    "h": 210.455,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53981,
    "c": 0.12421,
    "h": 251.8
  },
  "luminance": 0.15734
}

Semantic roles & 50–950 ramp

primary
#3071B4
secondary
#C6A079
accent
#9547E1
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #3071B4

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

Preview Lab → · Contrast checker → · Palette generator →

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