#306F87#306F87

#306F87 is a mid, moderate cyan. Relative luminance 0.137; OKLCH L 51.1% C 0.074 H 226.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#306F87
RGBrgb(48, 111, 135)
HSLhsl(197, 48%, 36%)
HSVhsv(197, 64%, 53%)
CMYKcmyk(64.4%, 17.8%, 0%, 47.1%)
CIE-LABlab(43.87, -12.37, -19.21)
CIE-LCHlch(43.87, 22.85, 237.23°)
OKLaboklab(51.1% -0.0515 -0.0536)
OKLCHoklch(51.1% 0.074 226.1)
XYZxyz(11.2748, 13.7454, 24.9759)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F87 #874830
analogous
#308773 #306F87 #304387
triadic
#306F87 #87306F #6F8730
tetradic
#306F87 #733087 #874830 #438730
square
#306F87 #733087 #874830 #438730
split-complementary
#306F87 #873043 #877330
monochromatic
#10252D #204A5A #306F87 #4094B4 #68AFC9

Accessibility & contrast

On white

5.60
#306F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#306F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306F87
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306F87#FFFFFF#000000##FFFFFF
##306F871.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626D88
Deuteranopia (green-blind)
#566487
Tritanopia (blue-blind)
#007677
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #306f87;
/* rgb */ color: rgb(48, 111, 135);
/* oklch */ color: oklch(51.1% 0.074 226.1);
Tailwind
colors: {
  custom: {
    50: '#7298aa',
    500: '#306f87',
    950: '#000000',
  },
}
SCSS
$custom: #306f87;
$custom-light: #7298aa;
$custom-dark: #000000;
JSON
{
  "hex": "#306f87",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 135
  },
  "hsl": {
    "h": 196.552,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.51099,
    "c": 0.07435,
    "h": 226.1
  },
  "luminance": 0.13747
}

Semantic roles & 50–950 ramp

primary
#306F87
secondary
#B17862
accent
#7651D7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #306F87

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

Preview Lab → · Contrast checker → · Palette generator →

#306F87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva