#3071B8#3071B8

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

Color values

HEX#3071B8
RGBrgb(48, 113, 184)
HSLhsl(211, 59%, 45%)
HSVhsv(211, 74%, 72%)
CMYKcmyk(73.9%, 38.6%, 0%, 27.8%)
CIE-LABlab(46.84, 3.90, -43.42)
CIE-LCHlch(46.84, 43.59, 275.13°)
OKLaboklab(54.22% -0.0378 -0.1238)
OKLCHoklch(54.22% 0.129 253)
XYZxyz(15.7726, 15.8976, 47.5754)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3071B8 #B87730
analogous
#30B5B8 #3071B8 #3330B8
triadic
#3071B8 #B83071 #71B830
tetradic
#3071B8 #B830B5 #B87730 #30B833
square
#3071B8 #B830B5 #B87730 #30B833
split-complementary
#3071B8 #B83330 #B5B830
monochromatic
#173557 #235387 #3071B8 #5390D2 #84AFDF

Accessibility & contrast

On white

5.02
#3071B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#3071B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3071B8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3071B8#FFFFFF#000000##FFFFFF
##3071B81.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5076BB
Deuteranopia (green-blind)
#3B69B7
Tritanopia (blue-blind)
#00828B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3071b8;
/* rgb */ color: rgb(48, 113, 184);
/* oklch */ color: oklch(54.2% 0.129 253.0);
Tailwind
colors: {
  custom: {
    50: '#7a99ce',
    500: '#3071b8',
    950: '#000000',
  },
}
SCSS
$custom: #3071b8;
$custom-light: #7a99ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3071b8",
  "rgb": {
    "r": 48,
    "g": 113,
    "b": 184
  },
  "hsl": {
    "h": 211.324,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54223,
    "c": 0.12941,
    "h": 253
  },
  "luminance": 0.15899
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3071B8

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

Preview Lab → · Contrast checker → · Palette generator →

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