#3A789E#3A789E

#3A789E is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.8% C 0.087 H 238.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#3A789E
RGBrgb(58, 120, 158)
HSLhsl(203, 46%, 42%)
HSVhsv(203, 63%, 62%)
CMYKcmyk(63.3%, 24.1%, 0%, 38%)
CIE-LABlab(48.01, -7.93, -26.40)
CIE-LCHlch(48.01, 27.57, 253.29°)
OKLaboklab(54.82% -0.046 -0.0741)
OKLCHoklch(54.82% 0.087 238.1)
XYZxyz(14.6306, 16.7997, 34.8127)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A789E #9E603A
analogous
#3A9E92 #3A789E #3A469E
triadic
#3A789E #9E3A78 #789E3A
tetradic
#3A789E #923A9E #9E603A #469E3A
square
#3A789E #923A9E #9E603A #469E3A
split-complementary
#3A789E #9E3A46 #9E923A
monochromatic
#193444 #2A5671 #3A789E #5598C0 #81B3D1

Accessibility & contrast

On white

4.82
#3A789E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#3A789E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A789E
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A789E#FFFFFF#000000##FFFFFF
##3A789E1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6678A0
Deuteranopia (green-blind)
#596D9D
Tritanopia (blue-blind)
#008285
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3a789e;
/* rgb */ color: rgb(58, 120, 158);
/* oklch */ color: oklch(54.8% 0.087 238.1);
Tailwind
colors: {
  custom: {
    50: '#7a9eba',
    500: '#3a789e',
    950: '#000000',
  },
}
SCSS
$custom: #3a789e;
$custom-light: #7a9eba;
$custom-dark: #000000;
JSON
{
  "hex": "#3a789e",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 158
  },
  "hsl": {
    "h": 202.8,
    "s": 46.296,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54819,
    "c": 0.0872,
    "h": 238.1
  },
  "luminance": 0.16801
}

Semantic roles & 50–950 ramp

primary
#3A789E
secondary
#BB9279
accent
#8452D6
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #3A789E

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

Preview Lab → · Contrast checker → · Palette generator →

#3A789E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva