#30799C#30799C

#30799C is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.6% C 0.090 H 232.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#30799C
RGBrgb(48, 121, 156)
HSLhsl(199, 53%, 40%)
HSVhsv(199, 69%, 61%)
CMYKcmyk(69.2%, 22.4%, 0%, 38.8%)
CIE-LABlab(47.88, -10.95, -25.45)
CIE-LCHlch(47.88, 27.71, 246.72°)
OKLaboklab(54.6% -0.0545 -0.0714)
OKLCHoklch(54.6% 0.09 232.7)
XYZxyz(14.0547, 16.7019, 33.9291)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30799C #9C5330
analogous
#309C89 #30799C #30439C
triadic
#30799C #9C3079 #799C30
tetradic
#30799C #89309C #9C5330 #439C30
square
#30799C #89309C #9C5330 #439C30
split-complementary
#30799C #9C3043 #9C8930
monochromatic
#13303E #22556D #30799C #449BC5 #73B4D4

Accessibility & contrast

On white

4.84
#30799C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#30799C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30799C
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30799C#FFFFFF#000000##FFFFFF
##30799C1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68789E
Deuteranopia (green-blind)
#596D9B
Tritanopia (blue-blind)
#008285
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #30799c;
/* rgb */ color: rgb(48, 121, 156);
/* oklch */ color: oklch(54.6% 0.090 232.7);
Tailwind
colors: {
  custom: {
    50: '#769fb9',
    500: '#30799c',
    950: '#000000',
  },
}
SCSS
$custom: #30799c;
$custom-light: #769fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#30799c",
  "rgb": {
    "r": 48,
    "g": 121,
    "b": 156
  },
  "hsl": {
    "h": 199.444,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.54595,
    "c": 0.08981,
    "h": 232.7
  },
  "luminance": 0.16703
}

Semantic roles & 50–950 ramp

primary
#30799C
secondary
#BC866C
accent
#7A4BDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #30799C

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

Preview Lab → · Contrast checker → · Palette generator →

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