#3071B2#3071B2

#3071B2 is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 53.9% C 0.122 H 251.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#3071B2
RGBrgb(48, 113, 178)
HSLhsl(210, 58%, 44%)
HSVhsv(210, 73%, 70%)
CMYKcmyk(73%, 36.5%, 0%, 30.2%)
CIE-LABlab(46.51, 1.68, -40.45)
CIE-LCHlch(46.51, 40.49, 272.38°)
OKLaboklab(53.86% -0.0393 -0.1151)
OKLCHoklch(53.86% 0.122 251.1)
XYZxyz(15.1569, 15.6513, 44.3330)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3071B2 #B27130
analogous
#30B2B2 #3071B2 #3030B2
triadic
#3071B2 #B23071 #71B230
tetradic
#3071B2 #B230B2 #B27130 #30B230
square
#3071B2 #B230B2 #B27130 #30B230
split-complementary
#3071B2 #B23030 #B2B230
monochromatic
#163452 #235282 #3071B2 #5090D0 #80AEDD

Accessibility & contrast

On white

5.08
#3071B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#3071B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3071B2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3071B2#FFFFFF#000000##FFFFFF
##3071B21.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5375B5
Deuteranopia (green-blind)
#4069B1
Tritanopia (blue-blind)
#008089
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3071b2;
/* rgb */ color: rgb(48, 113, 178);
/* oklch */ color: oklch(53.9% 0.122 251.1);
Tailwind
colors: {
  custom: {
    50: '#7999c9',
    500: '#3071b2',
    950: '#000000',
  },
}
SCSS
$custom: #3071b2;
$custom-light: #7999c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3071b2",
  "rgb": {
    "r": 48,
    "g": 113,
    "b": 178
  },
  "hsl": {
    "h": 210,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53862,
    "c": 0.12161,
    "h": 251.1
  },
  "luminance": 0.15653
}

Semantic roles & 50–950 ramp

primary
#3071B2
secondary
#C69F78
accent
#9447E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #3071B2

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

Preview Lab → · Contrast checker → · Palette generator →

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