#3071B6#3071B6

#3071B6 is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.1% C 0.127 H 252.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#3071B6
RGBrgb(48, 113, 182)
HSLhsl(211, 58%, 45%)
HSVhsv(211, 74%, 71%)
CMYKcmyk(73.6%, 37.9%, 0%, 28.6%)
CIE-LABlab(46.73, 3.16, -42.43)
CIE-LCHlch(46.73, 42.55, 274.26°)
OKLaboklab(54.1% -0.0383 -0.1209)
OKLCHoklch(54.1% 0.127 252.4)
XYZxyz(15.5644, 15.8143, 46.4791)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3071B6 #B67530
analogous
#30B4B6 #3071B6 #3230B6
triadic
#3071B6 #B63071 #71B630
tetradic
#3071B6 #B630B4 #B67530 #30B632
square
#3071B6 #B630B4 #B67530 #30B632
split-complementary
#3071B6 #B63230 #B4B630
monochromatic
#163555 #235386 #3071B6 #5290D1 #82AFDE

Accessibility & contrast

On white

5.04
#3071B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#3071B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3071B6
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3071B6#FFFFFF#000000##FFFFFF
##3071B61.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5176B9
Deuteranopia (green-blind)
#3D69B5
Tritanopia (blue-blind)
#00818B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3071b6;
/* rgb */ color: rgb(48, 113, 182);
/* oklch */ color: oklch(54.1% 0.127 252.4);
Tailwind
colors: {
  custom: {
    50: '#7a99cc',
    500: '#3071b6',
    950: '#000000',
  },
}
SCSS
$custom: #3071b6;
$custom-light: #7a99cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3071b6",
  "rgb": {
    "r": 48,
    "g": 113,
    "b": 182
  },
  "hsl": {
    "h": 210.896,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54102,
    "c": 0.1268,
    "h": 252.4
  },
  "luminance": 0.15816
}

Semantic roles & 50–950 ramp

primary
#3071B6
secondary
#C7A27B
accent
#9646E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #3071B6

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

Preview Lab → · Contrast checker → · Palette generator →

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