#30799B#30799B

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

Color values

HEX#30799B
RGBrgb(48, 121, 155)
HSLhsl(199, 53%, 40%)
HSVhsv(199, 69%, 61%)
CMYKcmyk(69%, 21.9%, 0%, 39.2%)
CIE-LABlab(47.84, -11.30, -24.93)
CIE-LCHlch(47.84, 27.37, 245.62°)
OKLaboklab(54.55% -0.0548 -0.0699)
OKLCHoklch(54.55% 0.089 231.9)
XYZxyz(13.9704, 16.6682, 33.4850)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30799B #9B5230
analogous
#309B87 #30799B #30449B
triadic
#30799B #9B3079 #799B30
tetradic
#30799B #87309B #9B5230 #449B30
square
#30799B #87309B #9B5230 #449B30
split-complementary
#30799B #9B3044 #9B8730
monochromatic
#13303E #22556C #30799B #439CC5 #72B4D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30799B#FFFFFF#000000##FFFFFF
##30799B1.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)
#68789D
Deuteranopia (green-blind)
#596D9A
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #30799b;
/* rgb */ color: rgb(48, 121, 155);
/* oklch */ color: oklch(54.5% 0.089 231.9);
Tailwind
colors: {
  custom: {
    50: '#759fb8',
    500: '#30799b',
    950: '#000000',
  },
}
SCSS
$custom: #30799b;
$custom-light: #759fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#30799b",
  "rgb": {
    "r": 48,
    "g": 121,
    "b": 155
  },
  "hsl": {
    "h": 199.065,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.54546,
    "c": 0.08885,
    "h": 231.9
  },
  "luminance": 0.1667
}

Semantic roles & 50–950 ramp

primary
#30799B
secondary
#BB856C
accent
#7A4CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #30799B

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

Preview Lab → · Contrast checker → · Palette generator →

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