#30798F#30798F

#30798F is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.0% C 0.079 H 221.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#30798F
RGBrgb(48, 121, 143)
HSLhsl(194, 50%, 37%)
HSVhsv(194, 66%, 56%)
CMYKcmyk(66.4%, 15.4%, 0%, 43.9%)
CIE-LABlab(47.35, -15.35, -18.63)
CIE-LCHlch(47.35, 24.14, 230.51°)
OKLaboklab(53.99% -0.0595 -0.0519)
OKLCHoklch(53.99% 0.079 221.1)
XYZxyz(13.0122, 16.2849, 28.4388)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30798F #8F4630
analogous
#308F76 #30798F #30498F
triadic
#30798F #8F3079 #798F30
tetradic
#30798F #76308F #8F4630 #498F30
square
#30798F #76308F #8F4630 #498F30
split-complementary
#30798F #8F3049 #8F7630
monochromatic
#112B33 #215261 #30798F #3FA0BD #6CB7CE

Accessibility & contrast

On white

4.93
#30798F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#30798F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30798F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30798F#FFFFFF#000000##FFFFFF
##30798F1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7690
Deuteranopia (green-blind)
#5E6C8F
Tritanopia (blue-blind)
#008080
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #30798f;
/* rgb */ color: rgb(48, 121, 143);
/* oklch */ color: oklch(54.0% 0.079 221.1);
Tailwind
colors: {
  custom: {
    50: '#749faf',
    500: '#30798f',
    950: '#000000',
  },
}
SCSS
$custom: #30798f;
$custom-light: #749faf;
$custom-dark: #000000;
JSON
{
  "hex": "#30798f",
  "rgb": {
    "r": 48,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 193.895,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.53989,
    "c": 0.07898,
    "h": 221.1
  },
  "luminance": 0.16286
}

Semantic roles & 50–950 ramp

primary
#30798F
secondary
#B57866
accent
#6F4FD9
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #30798F

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

Preview Lab → · Contrast checker → · Palette generator →

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