#306178#306178

#306178 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 46.8% C 0.065 H 230.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#306178
RGBrgb(48, 97, 120)
HSLhsl(199, 43%, 33%)
HSVhsv(199, 60%, 47%)
CMYKcmyk(60%, 19.2%, 0%, 52.9%)
CIE-LABlab(38.78, -9.23, -17.95)
CIE-LCHlch(38.78, 20.19, 242.79°)
OKLaboklab(46.84% -0.0411 -0.05)
OKLCHoklch(46.84% 0.065 230.6)
XYZxyz(8.8825, 10.5330, 19.3306)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306178 #784730
analogous
#30786B #306178 #303D78
triadic
#306178 #783061 #617830
tetradic
#306178 #6B3078 #784730 #3D7830
square
#306178 #6B3078 #784730 #3D7830
split-complementary
#306178 #78303D #786B30
monochromatic
#0D1A21 #1F3E4C #306178 #4184A4 #62A2C0

Accessibility & contrast

On white

6.76
#306178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#306178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306178
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306178#FFFFFF#000000##FFFFFF
##3061781.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556079
Deuteranopia (green-blind)
#4B5878
Tritanopia (blue-blind)
#006769
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #306178;
/* rgb */ color: rgb(48, 97, 120);
/* oklch */ color: oklch(46.8% 0.065 230.6);
Tailwind
colors: {
  custom: {
    50: '#6f8d9f',
    500: '#306178',
    950: '#000000',
  },
}
SCSS
$custom: #306178;
$custom-light: #6f8d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#306178",
  "rgb": {
    "r": 48,
    "g": 97,
    "b": 120
  },
  "hsl": {
    "h": 199.167,
    "s": 42.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4684,
    "c": 0.06473,
    "h": 230.6
  },
  "luminance": 0.10534
}

Semantic roles & 50–950 ramp

primary
#306178
secondary
#A7745C
accent
#7D55D3
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080C0E
muted
#7B7D7E

Preview Lab

Preview with #306178

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

Preview Lab → · Contrast checker → · Palette generator →

#306178 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva