#30789D#30789D

#30789D is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.4% C 0.091 H 234.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#30789D
RGBrgb(48, 120, 157)
HSLhsl(200, 53%, 40%)
HSVhsv(200, 69%, 62%)
CMYKcmyk(69.4%, 23.6%, 0%, 38.4%)
CIE-LABlab(47.62, -10.03, -26.45)
CIE-LCHlch(47.62, 28.29, 249.23°)
OKLaboklab(54.4% -0.053 -0.0743)
OKLCHoklch(54.4% 0.091 234.5)
XYZxyz(14.0188, 16.4941, 34.3366)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30789D #9D5530
analogous
#309D8B #30789D #30419D
triadic
#30789D #9D3078 #789D30
tetradic
#30789D #8B309D #9D5530 #419D30
square
#30789D #8B309D #9D5530 #419D30
split-complementary
#30789D #9D3041 #9D8B30
monochromatic
#13303F #22546E #30789D #449AC6 #73B3D4

Accessibility & contrast

On white

4.88
#30789D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#30789D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30789D
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30789D#FFFFFF#000000##FFFFFF
##30789D1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66779F
Deuteranopia (green-blind)
#576C9C
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #30789d;
/* rgb */ color: rgb(48, 120, 157);
/* oklch */ color: oklch(54.4% 0.091 234.5);
Tailwind
colors: {
  custom: {
    50: '#769fba',
    500: '#30789d',
    950: '#000000',
  },
}
SCSS
$custom: #30789d;
$custom-light: #769fba;
$custom-dark: #000000;
JSON
{
  "hex": "#30789d",
  "rgb": {
    "r": 48,
    "g": 120,
    "b": 157
  },
  "hsl": {
    "h": 200.367,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.54397,
    "c": 0.09128,
    "h": 234.5
  },
  "luminance": 0.16496
}

Semantic roles & 50–950 ramp

primary
#30789D
secondary
#BC886D
accent
#7D4BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #30789D

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

Preview Lab → · Contrast checker → · Palette generator →

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