#30879A#30879A

#30879A is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.0% C 0.086 H 215.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#30879A
RGBrgb(48, 135, 154)
HSLhsl(191, 52%, 40%)
HSVhsv(191, 69%, 60%)
CMYKcmyk(68.8%, 12.3%, 0%, 39.6%)
CIE-LABlab(52.16, -19.38, -17.70)
CIE-LCHlch(52.16, 26.25, 222.41°)
OKLaboklab(57.99% -0.0702 -0.0493)
OKLCHoklch(57.99% 0.086 215.1)
XYZxyz(15.7132, 20.2877, 33.6534)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30879A #9A4330
analogous
#309A78 #30879A #30529A
triadic
#30879A #9A3087 #879A30
tetradic
#30879A #78309A #9A4330 #529A30
square
#30879A #78309A #9A4330 #529A30
split-complementary
#30879A #9A3052 #9A7830
monochromatic
#13353D #215E6B #30879A #43ADC4 #72C1D3

Accessibility & contrast

On white

4.15
#30879A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#30879A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30879A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30879A#FFFFFF#000000##000000
##30879A1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A839B
Deuteranopia (green-blind)
#6B789A
Tritanopia (blue-blind)
#008E8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #30879a;
/* rgb */ color: rgb(48, 135, 154);
/* oklch */ color: oklch(58.0% 0.086 215.1);
Tailwind
colors: {
  custom: {
    50: '#76aab7',
    500: '#30879a',
    950: '#000000',
  },
}
SCSS
$custom: #30879a;
$custom-light: #76aab7;
$custom-dark: #000000;
JSON
{
  "hex": "#30879a",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 154
  },
  "hsl": {
    "h": 190.755,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.57993,
    "c": 0.08578,
    "h": 215.1
  },
  "luminance": 0.20289
}

Semantic roles & 50–950 ramp

primary
#30879A
secondary
#BB796B
accent
#664CDC
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #30879A

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

Preview Lab → · Contrast checker → · Palette generator →

#30879A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva