#3070BA#3070BA

#3070BA is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.1% C 0.133 H 254.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#3070BA
RGBrgb(48, 112, 186)
HSLhsl(212, 59%, 46%)
HSVhsv(212, 74%, 73%)
CMYKcmyk(74.2%, 39.8%, 0%, 27.1%)
CIE-LABlab(46.66, 5.26, -44.87)
CIE-LCHlch(46.66, 45.18, 276.69°)
OKLaboklab(54.12% -0.0364 -0.128)
OKLCHoklch(54.12% 0.133 254.1)
XYZxyz(15.8727, 15.7601, 48.6503)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3070BA #BA7A30
analogous
#30B5BA #3070BA #3530BA
triadic
#3070BA #BA3070 #70BA30
tetradic
#3070BA #BA30B5 #BA7A30 #30BA35
square
#3070BA #BA30B5 #BA7A30 #30BA35
split-complementary
#3070BA #BA3530 #B5BA30
monochromatic
#173559 #235389 #3070BA #548FD3 #85AFDF

Accessibility & contrast

On white

5.06
#3070BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#3070BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3070BA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3070BA#FFFFFF#000000##FFFFFF
##3070BA1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D75BD
Deuteranopia (green-blind)
#3769B9
Tritanopia (blue-blind)
#00818C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3070ba;
/* rgb */ color: rgb(48, 112, 186);
/* oklch */ color: oklch(54.1% 0.133 254.1);
Tailwind
colors: {
  custom: {
    50: '#7b98cf',
    500: '#3070ba',
    950: '#000000',
  },
}
SCSS
$custom: #3070ba;
$custom-light: #7b98cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3070ba",
  "rgb": {
    "r": 48,
    "g": 112,
    "b": 186
  },
  "hsl": {
    "h": 212.174,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54118,
    "c": 0.1331,
    "h": 254.1
  },
  "luminance": 0.15762
}

Semantic roles & 50–950 ramp

primary
#3070BA
secondary
#C9A67D
accent
#9A46E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3070BA

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

Preview Lab → · Contrast checker → · Palette generator →

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