#30879E#30879E

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

Color values

HEX#30879E
RGBrgb(48, 135, 158)
HSLhsl(193, 53%, 40%)
HSVhsv(193, 70%, 62%)
CMYKcmyk(69.6%, 14.6%, 0%, 38%)
CIE-LABlab(52.31, -18.07, -19.79)
CIE-LCHlch(52.31, 26.80, 227.60°)
OKLaboklab(58.17% -0.0686 -0.0552)
OKLCHoklch(58.17% 0.088 218.8)
XYZxyz(16.0519, 20.4231, 35.4372)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30879E #9E4730
analogous
#309E7E #30879E #30509E
triadic
#30879E #9E3087 #879E30
tetradic
#30879E #7E309E #9E4730 #509E30
square
#30879E #7E309E #9E4730 #509E30
split-complementary
#30879E #9E3050 #9E7E30
monochromatic
#133740 #225F6F #30879E #45ABC6 #74C0D5

Accessibility & contrast

On white

4.13
#30879E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##30879E#FFFFFF#000000##000000
##30879E1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30879e;
/* rgb */ color: rgb(48, 135, 158);
/* oklch */ color: oklch(58.2% 0.088 218.8);
Tailwind
colors: {
  custom: {
    50: '#77aaba',
    500: '#30879e',
    950: '#000000',
  },
}
SCSS
$custom: #30879e;
$custom-light: #77aaba;
$custom-dark: #000000;
JSON
{
  "hex": "#30879e",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 158
  },
  "hsl": {
    "h": 192.545,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.58165,
    "c": 0.08801,
    "h": 218.8
  },
  "luminance": 0.20425
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30879E

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

Preview Lab → · Contrast checker → · Palette generator →

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