#30799F#30799F

#30799F is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.7% C 0.093 H 234.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#30799F
RGBrgb(48, 121, 159)
HSLhsl(201, 54%, 41%)
HSVhsv(201, 70%, 62%)
CMYKcmyk(69.8%, 23.9%, 0%, 37.6%)
CIE-LABlab(48.01, -9.91, -27.01)
CIE-LCHlch(48.01, 28.77, 249.84°)
OKLaboklab(54.74% -0.0534 -0.0759)
OKLCHoklch(54.74% 0.093 234.9)
XYZxyz(14.3118, 16.8048, 35.2835)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30799F #9F5630
analogous
#309F8D #30799F #30419F
triadic
#30799F #9F3079 #799F30
tetradic
#30799F #8D309F #9F5630 #419F30
square
#30799F #8D309F #9F5630 #419F30
split-complementary
#30799F #9F3041 #9F8D30
monochromatic
#143141 #225570 #30799F #459BC7 #74B4D5

Accessibility & contrast

On white

4.82
#30799F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#30799F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30799F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30799F#FFFFFF#000000##FFFFFF
##30799F1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6778A1
Deuteranopia (green-blind)
#576D9E
Tritanopia (blue-blind)
#008386
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #30799f;
/* rgb */ color: rgb(48, 121, 159);
/* oklch */ color: oklch(54.7% 0.093 234.9);
Tailwind
colors: {
  custom: {
    50: '#769fbb',
    500: '#30799f',
    950: '#000000',
  },
}
SCSS
$custom: #30799f;
$custom-light: #769fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#30799f",
  "rgb": {
    "r": 48,
    "g": 121,
    "b": 159
  },
  "hsl": {
    "h": 200.541,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.54742,
    "c": 0.09278,
    "h": 234.9
  },
  "luminance": 0.16806
}

Semantic roles & 50–950 ramp

primary
#30799F
secondary
#BD896E
accent
#7D4BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #30799F

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

Preview Lab → · Contrast checker → · Palette generator →

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