#30789F#30789F

#30789F is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.5% C 0.093 H 235.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#30789F
RGBrgb(48, 120, 159)
HSLhsl(201, 54%, 41%)
HSVhsv(201, 70%, 62%)
CMYKcmyk(69.8%, 24.5%, 0%, 37.6%)
CIE-LABlab(47.70, -9.34, -27.48)
CIE-LCHlch(47.70, 29.03, 251.24°)
OKLaboklab(54.5% -0.0523 -0.0773)
OKLCHoklch(54.5% 0.093 235.9)
XYZxyz(14.1910, 16.5630, 35.2432)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30789F #9F5730
analogous
#309F8E #30789F #30409F
triadic
#30789F #9F3078 #789F30
tetradic
#30789F #8E309F #9F5730 #409F30
square
#30789F #8E309F #9F5730 #409F30
split-complementary
#30789F #9F3040 #9F8E30
monochromatic
#143141 #225570 #30789F #4599C7 #74B3D5

Accessibility & contrast

On white

4.87
#30789F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#30789F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30789F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30789F#FFFFFF#000000##FFFFFF
##30789F1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6577A1
Deuteranopia (green-blind)
#566C9E
Tritanopia (blue-blind)
#008285
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #30789f;
/* rgb */ color: rgb(48, 120, 159);
/* oklch */ color: oklch(54.5% 0.093 235.9);
Tailwind
colors: {
  custom: {
    50: '#769ebb',
    500: '#30789f',
    950: '#000000',
  },
}
SCSS
$custom: #30789f;
$custom-light: #769ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#30789f",
  "rgb": {
    "r": 48,
    "g": 120,
    "b": 159
  },
  "hsl": {
    "h": 201.081,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.54497,
    "c": 0.09332,
    "h": 235.9
  },
  "luminance": 0.16565
}

Semantic roles & 50–950 ramp

primary
#30789F
secondary
#BD8A6E
accent
#7E4BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #30789F

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

Preview Lab → · Contrast checker → · Palette generator →

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