#30789B#30789B

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

Color values

HEX#30789B
RGBrgb(48, 120, 155)
HSLhsl(200, 53%, 40%)
HSVhsv(200, 69%, 61%)
CMYKcmyk(69%, 22.6%, 0%, 39.2%)
CIE-LABlab(47.53, -10.72, -25.41)
CIE-LCHlch(47.53, 27.58, 247.12°)
OKLaboklab(54.3% -0.0538 -0.0713)
OKLCHoklch(54.3% 0.089 233)
XYZxyz(13.8495, 16.4264, 33.4447)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30789B #9B5330
analogous
#309B88 #30789B #30439B
triadic
#30789B #9B3078 #789B30
tetradic
#30789B #88309B #9B5330 #439B30
square
#30789B #88309B #9B5330 #439B30
split-complementary
#30789B #9B3043 #9B8830
monochromatic
#13303E #22546C #30789B #439BC5 #72B4D3

Accessibility & contrast

On white

4.90
#30789B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#30789B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30789B
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30789B#FFFFFF#000000##FFFFFF
##30789B1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67779D
Deuteranopia (green-blind)
#586C9A
Tritanopia (blue-blind)
#008184
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #30789b;
/* rgb */ color: rgb(48, 120, 155);
/* oklch */ color: oklch(54.3% 0.089 233.0);
Tailwind
colors: {
  custom: {
    50: '#759fb8',
    500: '#30789b',
    950: '#000000',
  },
}
SCSS
$custom: #30789b;
$custom-light: #759fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#30789b",
  "rgb": {
    "r": 48,
    "g": 120,
    "b": 155
  },
  "hsl": {
    "h": 199.626,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.54299,
    "c": 0.0893,
    "h": 233
  },
  "luminance": 0.16428
}

Semantic roles & 50–950 ramp

primary
#30789B
secondary
#BB866C
accent
#7B4CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #30789B

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

Preview Lab → · Contrast checker → · Palette generator →

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