#30879D#30879D

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

Color values

HEX#30879D
RGBrgb(48, 135, 157)
HSLhsl(192, 53%, 40%)
HSVhsv(192, 69%, 62%)
CMYKcmyk(69.4%, 14%, 0%, 38.4%)
CIE-LABlab(52.27, -18.40, -19.27)
CIE-LCHlch(52.27, 26.65, 226.32°)
OKLaboklab(58.12% -0.069 -0.0537)
OKLCHoklch(58.12% 0.087 217.9)
XYZxyz(15.9662, 20.3889, 34.9857)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30879D #9D4630
analogous
#309D7C #30879D #30509D
triadic
#30879D #9D3087 #879D30
tetradic
#30879D #7C309D #9D4630 #509D30
square
#30879D #7C309D #9D4630 #509D30
split-complementary
#30879D #9D3050 #9D7C30
monochromatic
#13363F #225F6E #30879D #44ACC6 #73C1D4

Accessibility & contrast

On white

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

On black

5.08
#30879D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30879D
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30879D#FFFFFF#000000##000000
##30879D1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#79839E
Deuteranopia (green-blind)
#69789D
Tritanopia (blue-blind)
#008F8E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #30879d;
/* rgb */ color: rgb(48, 135, 157);
/* oklch */ color: oklch(58.1% 0.087 217.9);
Tailwind
colors: {
  custom: {
    50: '#77aaba',
    500: '#30879d',
    950: '#000000',
  },
}
SCSS
$custom: #30879d;
$custom-light: #77aaba;
$custom-dark: #000000;
JSON
{
  "hex": "#30879d",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 157
  },
  "hsl": {
    "h": 192.11,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.58121,
    "c": 0.08742,
    "h": 217.9
  },
  "luminance": 0.20391
}

Semantic roles & 50–950 ramp

primary
#30879D
secondary
#BC7D6D
accent
#694BDD
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #30879D

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

Preview Lab → · Contrast checker → · Palette generator →

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