#30798C#30798C

#30798C is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 53.9% C 0.077 H 218.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#30798C
RGBrgb(48, 121, 140)
HSLhsl(192, 49%, 37%)
HSVhsv(192, 66%, 55%)
CMYKcmyk(65.7%, 13.6%, 0%, 45.1%)
CIE-LABlab(47.23, -16.33, -17.03)
CIE-LCHlch(47.23, 23.60, 226.20°)
OKLaboklab(53.86% -0.0608 -0.0474)
OKLCHoklch(53.86% 0.077 218)
XYZxyz(12.7880, 16.1952, 27.2579)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30798C #8C4330
analogous
#308C71 #30798C #304B8C
triadic
#30798C #8C3079 #798C30
tetradic
#30798C #71308C #8C4330 #4B8C30
square
#30798C #71308C #8C4330 #4B8C30
split-complementary
#30798C #8C304B #8C7130
monochromatic
#112A31 #20525E #30798C #40A0BA #6AB8CC

Accessibility & contrast

On white

4.95
#30798C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#30798C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30798C
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30798C#FFFFFF#000000##FFFFFF
##30798C1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D768D
Deuteranopia (green-blind)
#5F6C8C
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #30798c;
/* rgb */ color: rgb(48, 121, 140);
/* oklch */ color: oklch(53.9% 0.077 218.0);
Tailwind
colors: {
  custom: {
    50: '#739fad',
    500: '#30798c',
    950: '#000000',
  },
}
SCSS
$custom: #30798c;
$custom-light: #739fad;
$custom-dark: #000000;
JSON
{
  "hex": "#30798c",
  "rgb": {
    "r": 48,
    "g": 121,
    "b": 140
  },
  "hsl": {
    "h": 192.391,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.53857,
    "c": 0.07707,
    "h": 218
  },
  "luminance": 0.16197
}

Semantic roles & 50–950 ramp

primary
#30798C
secondary
#B37564
accent
#6C4FD8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #30798C

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

Preview Lab → · Contrast checker → · Palette generator →

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