#306887#306887

#306887 is a mid, moderate cyan. Relative luminance 0.123; OKLCH L 49.3% C 0.077 H 235.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#306887
RGBrgb(48, 104, 135)
HSLhsl(201, 48%, 36%)
HSVhsv(201, 64%, 53%)
CMYKcmyk(64.4%, 23%, 0%, 47.1%)
CIE-LABlab(41.65, -8.28, -22.63)
CIE-LCHlch(41.65, 24.09, 249.89°)
OKLaboklab(49.34% -0.0435 -0.0634)
OKLCHoklch(49.34% 0.077 235.5)
XYZxyz(10.5407, 12.2772, 24.7312)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306887 #874F30
analogous
#30877A #306887 #303C87
triadic
#306887 #873068 #688730
tetradic
#306887 #7A3087 #874F30 #3C8730
square
#306887 #7A3087 #874F30 #3C8730
split-complementary
#306887 #87303C #877A30
monochromatic
#10222D #20455A #306887 #408BB4 #68A7C9

Accessibility & contrast

On white

6.08
#306887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#306887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306887
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306887#FFFFFF#000000##FFFFFF
##3068871.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596788
Deuteranopia (green-blind)
#4D5E87
Tritanopia (blue-blind)
#007072
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #306887;
/* rgb */ color: rgb(48, 104, 135);
/* oklch */ color: oklch(49.3% 0.077 235.5);
Tailwind
colors: {
  custom: {
    50: '#7293aa',
    500: '#306887',
    950: '#000000',
  },
}
SCSS
$custom: #306887;
$custom-light: #7293aa;
$custom-dark: #000000;
JSON
{
  "hex": "#306887",
  "rgb": {
    "r": 48,
    "g": 104,
    "b": 135
  },
  "hsl": {
    "h": 201.379,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49337,
    "c": 0.07689,
    "h": 235.5
  },
  "luminance": 0.12278
}

Semantic roles & 50–950 ramp

primary
#306887
secondary
#B17E62
accent
#8151D7
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #306887

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

Preview Lab → · Contrast checker → · Palette generator →

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