#30879C#30879C

#30879C is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.1% C 0.087 H 217.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#30879C
RGBrgb(48, 135, 156)
HSLhsl(192, 53%, 40%)
HSVhsv(192, 69%, 61%)
CMYKcmyk(69.2%, 13.5%, 0%, 38.8%)
CIE-LABlab(52.24, -18.73, -18.75)
CIE-LCHlch(52.24, 26.50, 225.03°)
OKLaboklab(58.08% -0.0694 -0.0522)
OKLCHoklch(58.08% 0.087 217)
XYZxyz(15.8812, 20.3549, 34.5379)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30879C #9C4530
analogous
#309C7B #30879C #30519C
triadic
#30879C #9C3087 #879C30
tetradic
#30879C #7B309C #9C4530 #519C30
square
#30879C #7B309C #9C4530 #519C30
split-complementary
#30879C #9C3051 #9C7B30
monochromatic
#13363E #225E6D #30879C #44ACC5 #73C1D4

Accessibility & contrast

On white

4.14
#30879C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#30879C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30879C
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30879C#FFFFFF#000000##000000
##30879C1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#79839D
Deuteranopia (green-blind)
#6A789C
Tritanopia (blue-blind)
#008E8E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #30879c;
/* rgb */ color: rgb(48, 135, 156);
/* oklch */ color: oklch(58.1% 0.087 217.0);
Tailwind
colors: {
  custom: {
    50: '#77aab9',
    500: '#30879c',
    950: '#000000',
  },
}
SCSS
$custom: #30879c;
$custom-light: #77aab9;
$custom-dark: #000000;
JSON
{
  "hex": "#30879c",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 156
  },
  "hsl": {
    "h": 191.667,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.58078,
    "c": 0.08684,
    "h": 217
  },
  "luminance": 0.20357
}

Semantic roles & 50–950 ramp

primary
#30879C
secondary
#BC7C6C
accent
#684BDC
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #30879C

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

Preview Lab → · Contrast checker → · Palette generator →

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