#3070B4#3070B4

#3070B4 is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.8% C 0.125 H 252.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#3070B4
RGBrgb(48, 112, 180)
HSLhsl(211, 58%, 45%)
HSVhsv(211, 73%, 71%)
CMYKcmyk(73.3%, 37.8%, 0%, 29.4%)
CIE-LABlab(46.33, 3.04, -41.92)
CIE-LCHlch(46.33, 42.03, 274.15°)
OKLaboklab(53.75% -0.0378 -0.1194)
OKLCHoklch(53.75% 0.125 252.4)
XYZxyz(15.2482, 15.5103, 45.3613)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3070B4 #B47430
analogous
#30B2B4 #3070B4 #3230B4
triadic
#3070B4 #B43070 #70B430
tetradic
#3070B4 #B430B2 #B47430 #30B432
square
#3070B4 #B430B2 #B47430 #30B432
split-complementary
#3070B4 #B43230 #B2B430
monochromatic
#163453 #235284 #3070B4 #518FD1 #81AEDD

Accessibility & contrast

On white

5.12
#3070B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#3070B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3070B4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3070B4#FFFFFF#000000##FFFFFF
##3070B41.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5174B7
Deuteranopia (green-blind)
#3D68B3
Tritanopia (blue-blind)
#008089
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3070b4;
/* rgb */ color: rgb(48, 112, 180);
/* oklch */ color: oklch(53.8% 0.125 252.4);
Tailwind
colors: {
  custom: {
    50: '#7998cb',
    500: '#3070b4',
    950: '#000000',
  },
}
SCSS
$custom: #3070b4;
$custom-light: #7998cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3070b4",
  "rgb": {
    "r": 48,
    "g": 112,
    "b": 180
  },
  "hsl": {
    "h": 210.909,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5375,
    "c": 0.12524,
    "h": 252.4
  },
  "luminance": 0.15512
}

Semantic roles & 50–950 ramp

primary
#3070B4
secondary
#C6A179
accent
#9647E1
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #3070B4

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

Preview Lab → · Contrast checker → · Palette generator →

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