#30799A#30799A

#30799A is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.5% C 0.088 H 231.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#30799A
RGBrgb(48, 121, 154)
HSLhsl(199, 52%, 40%)
HSVhsv(199, 69%, 60%)
CMYKcmyk(68.8%, 21.4%, 0%, 39.6%)
CIE-LABlab(47.80, -11.64, -24.41)
CIE-LCHlch(47.80, 27.04, 244.50°)
OKLaboklab(54.5% -0.0552 -0.0684)
OKLCHoklch(54.5% 0.088 231.1)
XYZxyz(13.8867, 16.6347, 33.0445)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30799A #9A5130
analogous
#309A86 #30799A #30449A
triadic
#30799A #9A3079 #799A30
tetradic
#30799A #86309A #9A5130 #449A30
square
#30799A #86309A #9A5130 #449A30
split-complementary
#30799A #9A3044 #9A8630
monochromatic
#13303D #21546B #30799A #439CC4 #72B5D3

Accessibility & contrast

On white

4.85
#30799A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#30799A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30799A
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30799A#FFFFFF#000000##FFFFFF
##30799A1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68779C
Deuteranopia (green-blind)
#5A6D9A
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #30799a;
/* rgb */ color: rgb(48, 121, 154);
/* oklch */ color: oklch(54.5% 0.088 231.1);
Tailwind
colors: {
  custom: {
    50: '#759fb8',
    500: '#30799a',
    950: '#000000',
  },
}
SCSS
$custom: #30799a;
$custom-light: #759fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#30799a",
  "rgb": {
    "r": 48,
    "g": 121,
    "b": 154
  },
  "hsl": {
    "h": 198.679,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.54498,
    "c": 0.08792,
    "h": 231.1
  },
  "luminance": 0.16636
}

Semantic roles & 50–950 ramp

primary
#30799A
secondary
#BB846B
accent
#794CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #30799A

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

Preview Lab → · Contrast checker → · Palette generator →

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