#30799D#30799D

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

Color values

HEX#30799D
RGBrgb(48, 121, 157)
HSLhsl(200, 53%, 40%)
HSVhsv(200, 69%, 62%)
CMYKcmyk(69.4%, 22.9%, 0%, 38.4%)
CIE-LABlab(47.93, -10.61, -25.97)
CIE-LCHlch(47.93, 28.05, 247.78°)
OKLaboklab(54.64% -0.0541 -0.0729)
OKLCHoklch(54.64% 0.091 233.4)
XYZxyz(14.1397, 16.7359, 34.3769)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30799D #9D5430
analogous
#309D8B #30799D #30429D
triadic
#30799D #9D3079 #799D30
tetradic
#30799D #8B309D #9D5430 #429D30
square
#30799D #8B309D #9D5430 #429D30
split-complementary
#30799D #9D3042 #9D8B30
monochromatic
#13313F #22556E #30799D #449BC6 #73B4D4

Accessibility & contrast

On white

4.83
#30799D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#30799D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30799D
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30799D#FFFFFF#000000##FFFFFF
##30799D1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67789F
Deuteranopia (green-blind)
#586D9C
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #30799d;
/* rgb */ color: rgb(48, 121, 157);
/* oklch */ color: oklch(54.6% 0.091 233.4);
Tailwind
colors: {
  custom: {
    50: '#769fba',
    500: '#30799d',
    950: '#000000',
  },
}
SCSS
$custom: #30799d;
$custom-light: #769fba;
$custom-dark: #000000;
JSON
{
  "hex": "#30799d",
  "rgb": {
    "r": 48,
    "g": 121,
    "b": 157
  },
  "hsl": {
    "h": 199.817,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.54644,
    "c": 0.09078,
    "h": 233.4
  },
  "luminance": 0.16737
}

Semantic roles & 50–950 ramp

primary
#30799D
secondary
#BC876D
accent
#7B4BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #30799D

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

Preview Lab → · Contrast checker → · Palette generator →

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