#30879F#30879F

#30879F is a mid, moderate cyan. Relative luminance 0.205; OKLCH L 58.2% C 0.089 H 219.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#30879F
RGBrgb(48, 135, 159)
HSLhsl(193, 54%, 41%)
HSVhsv(193, 70%, 62%)
CMYKcmyk(69.8%, 15.1%, 0%, 37.6%)
CIE-LABlab(52.35, -17.75, -20.31)
CIE-LCHlch(52.35, 26.97, 228.86°)
OKLaboklab(58.21% -0.0682 -0.0567)
OKLCHoklch(58.21% 0.089 219.7)
XYZxyz(16.1383, 20.4577, 35.8924)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30879F #9F4830
analogous
#309F7F #30879F #304F9F
triadic
#30879F #9F3087 #879F30
tetradic
#30879F #7F309F #9F4830 #4F9F30
square
#30879F #7F309F #9F4830 #4F9F30
split-complementary
#30879F #9F304F #9F7F30
monochromatic
#143741 #225F70 #30879F #45ABC7 #74C0D5

Accessibility & contrast

On white

4.12
#30879F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#30879F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30879F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30879F#FFFFFF#000000##000000
##30879F1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7883A0
Deuteranopia (green-blind)
#69789F
Tritanopia (blue-blind)
#008F8F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #30879f;
/* rgb */ color: rgb(48, 135, 159);
/* oklch */ color: oklch(58.2% 0.089 219.7);
Tailwind
colors: {
  custom: {
    50: '#77aabb',
    500: '#30879f',
    950: '#000000',
  },
}
SCSS
$custom: #30879f;
$custom-light: #77aabb;
$custom-dark: #000000;
JSON
{
  "hex": "#30879f",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 159
  },
  "hsl": {
    "h": 192.973,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.58208,
    "c": 0.08863,
    "h": 219.7
  },
  "luminance": 0.2046
}

Semantic roles & 50–950 ramp

primary
#30879F
secondary
#BD7F6E
accent
#6A4BDD
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #30879F

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

Preview Lab → · Contrast checker → · Palette generator →

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