#306987#306987

#306987 is a mid, moderate cyan. Relative luminance 0.125; OKLCH L 49.6% C 0.076 H 234.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#306987
RGBrgb(48, 105, 135)
HSLhsl(201, 48%, 36%)
HSVhsv(201, 64%, 53%)
CMYKcmyk(64.4%, 22.2%, 0%, 47.1%)
CIE-LABlab(41.97, -8.88, -22.14)
CIE-LCHlch(41.97, 23.85, 248.15°)
OKLaboklab(49.59% -0.0447 -0.062)
OKLCHoklch(49.59% 0.076 234.2)
XYZxyz(10.6420, 12.4797, 24.7650)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306987 #874E30
analogous
#308779 #306987 #303D87
triadic
#306987 #873069 #698730
tetradic
#306987 #793087 #874E30 #3D8730
square
#306987 #793087 #874E30 #3D8730
split-complementary
#306987 #87303D #877930
monochromatic
#10232D #20465A #306987 #408CB4 #68A8C9

Accessibility & contrast

On white

6.01
#306987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#306987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306987
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306987#FFFFFF#000000##FFFFFF
##3069871.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6888
Deuteranopia (green-blind)
#4F5F87
Tritanopia (blue-blind)
#007173
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #306987;
/* rgb */ color: rgb(48, 105, 135);
/* oklch */ color: oklch(49.6% 0.076 234.2);
Tailwind
colors: {
  custom: {
    50: '#7293aa',
    500: '#306987',
    950: '#000000',
  },
}
SCSS
$custom: #306987;
$custom-light: #7293aa;
$custom-dark: #000000;
JSON
{
  "hex": "#306987",
  "rgb": {
    "r": 48,
    "g": 105,
    "b": 135
  },
  "hsl": {
    "h": 200.69,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49587,
    "c": 0.0764,
    "h": 234.2
  },
  "luminance": 0.12481
}

Semantic roles & 50–950 ramp

primary
#306987
secondary
#B17D62
accent
#7F51D7
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #306987

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

Preview Lab → · Contrast checker → · Palette generator →

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