#3071B7#3071B7

#3071B7 is a mid, vivid cyan. Relative luminance 0.159; OKLCH L 54.2% C 0.128 H 252.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#3071B7
RGBrgb(48, 113, 183)
HSLhsl(211, 58%, 45%)
HSVhsv(211, 74%, 72%)
CMYKcmyk(73.8%, 38.3%, 0%, 28.2%)
CIE-LABlab(46.78, 3.53, -42.93)
CIE-LCHlch(46.78, 43.07, 274.70°)
OKLaboklab(54.16% -0.038 -0.1223)
OKLCHoklch(54.16% 0.128 252.7)
XYZxyz(15.6681, 15.8558, 47.0253)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3071B7 #B77630
analogous
#30B5B7 #3071B7 #3230B7
triadic
#3071B7 #B73071 #71B730
tetradic
#3071B7 #B730B5 #B77630 #30B732
square
#3071B7 #B730B5 #B77630 #30B732
split-complementary
#3071B7 #B73230 #B5B730
monochromatic
#173556 #235387 #3071B7 #5290D2 #83AFDE

Accessibility & contrast

On white

5.03
#3071B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#3071B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3071B7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3071B7#FFFFFF#000000##FFFFFF
##3071B71.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3071b7;
/* rgb */ color: rgb(48, 113, 183);
/* oklch */ color: oklch(54.2% 0.128 252.7);
Tailwind
colors: {
  custom: {
    50: '#7a99cd',
    500: '#3071b7',
    950: '#000000',
  },
}
SCSS
$custom: #3071b7;
$custom-light: #7a99cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3071b7",
  "rgb": {
    "r": 48,
    "g": 113,
    "b": 183
  },
  "hsl": {
    "h": 211.111,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54162,
    "c": 0.12811,
    "h": 252.7
  },
  "luminance": 0.15858
}

Semantic roles & 50–950 ramp

primary
#3071B7
secondary
#C8A37B
accent
#9746E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #3071B7

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

Preview Lab → · Contrast checker → · Palette generator →

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