#30879B#30879B

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

Color values

HEX#30879B
RGBrgb(48, 135, 155)
HSLhsl(191, 53%, 40%)
HSVhsv(191, 69%, 61%)
CMYKcmyk(69%, 12.9%, 0%, 39.2%)
CIE-LABlab(52.20, -19.05, -18.23)
CIE-LCHlch(52.20, 26.37, 223.73°)
OKLaboklab(58.04% -0.0698 -0.0508)
OKLCHoklch(58.04% 0.086 216)
XYZxyz(15.7968, 20.3211, 34.0938)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30879B #9B4430
analogous
#309B7A #30879B #30529B
triadic
#30879B #9B3087 #879B30
tetradic
#30879B #7A309B #9B4430 #529B30
square
#30879B #7A309B #9B4430 #529B30
split-complementary
#30879B #9B3052 #9B7A30
monochromatic
#13363E #225E6C #30879B #43ADC5 #72C1D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30879B#FFFFFF#000000##000000
##30879B1.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)
#79839C
Deuteranopia (green-blind)
#6A789B
Tritanopia (blue-blind)
#008E8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #30879b;
/* rgb */ color: rgb(48, 135, 155);
/* oklch */ color: oklch(58.0% 0.086 216.0);
Tailwind
colors: {
  custom: {
    50: '#76aab8',
    500: '#30879b',
    950: '#000000',
  },
}
SCSS
$custom: #30879b;
$custom-light: #76aab8;
$custom-dark: #000000;
JSON
{
  "hex": "#30879b",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 155
  },
  "hsl": {
    "h": 191.215,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.58035,
    "c": 0.0863,
    "h": 216
  },
  "luminance": 0.20323
}

Semantic roles & 50–950 ramp

primary
#30879B
secondary
#BB7B6C
accent
#674CDC
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #30879B

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

Preview Lab → · Contrast checker → · Palette generator →

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