#30789A#30789A

#30789A is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.3% C 0.088 H 232.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#30789A
RGBrgb(48, 120, 154)
HSLhsl(199, 52%, 40%)
HSVhsv(199, 69%, 60%)
CMYKcmyk(68.8%, 22.1%, 0%, 39.6%)
CIE-LABlab(47.49, -11.07, -24.89)
CIE-LCHlch(47.49, 27.24, 246.03°)
OKLaboklab(54.25% -0.0541 -0.0698)
OKLCHoklch(54.25% 0.088 232.2)
XYZxyz(13.7658, 16.3929, 33.0042)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30789A #9A5230
analogous
#309A87 #30789A #30439A
triadic
#30789A #9A3078 #789A30
tetradic
#30789A #87309A #9A5230 #439A30
square
#30789A #87309A #9A5230 #439A30
split-complementary
#30789A #9A3043 #9A8730
monochromatic
#132F3D #21546B #30789A #439BC4 #72B4D3

Accessibility & contrast

On white

4.91
#30789A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#30789A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30789A
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30789A#FFFFFF#000000##FFFFFF
##30789A1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67779C
Deuteranopia (green-blind)
#596C99
Tritanopia (blue-blind)
#008183
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #30789a;
/* rgb */ color: rgb(48, 120, 154);
/* oklch */ color: oklch(54.3% 0.088 232.2);
Tailwind
colors: {
  custom: {
    50: '#759fb8',
    500: '#30789a',
    950: '#000000',
  },
}
SCSS
$custom: #30789a;
$custom-light: #759fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#30789a",
  "rgb": {
    "r": 48,
    "g": 120,
    "b": 154
  },
  "hsl": {
    "h": 199.245,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.54251,
    "c": 0.08834,
    "h": 232.2
  },
  "luminance": 0.16394
}

Semantic roles & 50–950 ramp

primary
#30789A
secondary
#BB856B
accent
#7A4CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #30789A

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

Preview Lab → · Contrast checker → · Palette generator →

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