#30798D#30798D

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

Color values

HEX#30798D
RGBrgb(48, 121, 141)
HSLhsl(193, 49%, 37%)
HSVhsv(193, 66%, 55%)
CMYKcmyk(66%, 14.2%, 0%, 44.7%)
CIE-LABlab(47.27, -16.01, -17.57)
CIE-LCHlch(47.27, 23.76, 227.66°)
OKLaboklab(53.9% -0.0603 -0.0489)
OKLCHoklch(53.9% 0.078 219)
XYZxyz(12.8621, 16.2248, 27.6480)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30798D #8D4430
analogous
#308D73 #30798D #304B8D
triadic
#30798D #8D3079 #798D30
tetradic
#30798D #73308D #8D4430 #4B8D30
square
#30798D #73308D #8D4430 #4B8D30
split-complementary
#30798D #8D304B #8D7330
monochromatic
#112B32 #20525F #30798D #40A0BB #6BB8CD

Accessibility & contrast

On white

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

On black

4.25
#30798D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##30798D#FFFFFF#000000##FFFFFF
##30798D1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30798d;
/* rgb */ color: rgb(48, 121, 141);
/* oklch */ color: oklch(53.9% 0.078 219.0);
Tailwind
colors: {
  custom: {
    50: '#739fae',
    500: '#30798d',
    950: '#000000',
  },
}
SCSS
$custom: #30798d;
$custom-light: #739fae;
$custom-dark: #000000;
JSON
{
  "hex": "#30798d",
  "rgb": {
    "r": 48,
    "g": 121,
    "b": 141
  },
  "hsl": {
    "h": 192.903,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.53901,
    "c": 0.07767,
    "h": 219
  },
  "luminance": 0.16226
}

Semantic roles & 50–950 ramp

primary
#30798D
secondary
#B47665
accent
#6D4FD9
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #30798D

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

Preview Lab → · Contrast checker → · Palette generator →

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