#30798E#30798E

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

Color values

HEX#30798E
RGBrgb(48, 121, 142)
HSLhsl(193, 49%, 37%)
HSVhsv(193, 66%, 56%)
CMYKcmyk(66.2%, 14.8%, 0%, 44.3%)
CIE-LABlab(47.31, -15.68, -18.10)
CIE-LCHlch(47.31, 23.94, 229.10°)
OKLaboklab(53.95% -0.0599 -0.0504)
OKLCHoklch(53.95% 0.078 220.1)
XYZxyz(12.9368, 16.2547, 28.0416)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30798E #8E4530
analogous
#308E74 #30798E #304A8E
triadic
#30798E #8E3079 #798E30
tetradic
#30798E #74308E #8E4530 #4A8E30
square
#30798E #74308E #8E4530 #4A8E30
split-complementary
#30798E #8E304A #8E7430
monochromatic
#112B33 #215260 #30798E #3FA0BC #6BB7CD

Accessibility & contrast

On white

4.94
#30798E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #30798E
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30798E#FFFFFF#000000##FFFFFF
##30798E1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30798e;
/* rgb */ color: rgb(48, 121, 142);
/* oklch */ color: oklch(53.9% 0.078 220.1);
Tailwind
colors: {
  custom: {
    50: '#749faf',
    500: '#30798e',
    950: '#000000',
  },
}
SCSS
$custom: #30798e;
$custom-light: #749faf;
$custom-dark: #000000;
JSON
{
  "hex": "#30798e",
  "rgb": {
    "r": 48,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 193.404,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.53945,
    "c": 0.07832,
    "h": 220.1
  },
  "luminance": 0.16256
}

Semantic roles & 50–950 ramp

primary
#30798E
secondary
#B47765
accent
#6E4FD9
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #30798E

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

Preview Lab → · Contrast checker → · Palette generator →

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