#306B87#306B87

#306B87 is a mid, moderate cyan. Relative luminance 0.129; OKLCH L 50.1% C 0.076 H 231.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#306B87
RGBrgb(48, 107, 135)
HSLhsl(199, 48%, 36%)
HSVhsv(199, 64%, 53%)
CMYKcmyk(64.4%, 20.7%, 0%, 47.1%)
CIE-LABlab(42.60, -10.05, -21.16)
CIE-LCHlch(42.60, 23.43, 244.60°)
OKLaboklab(50.09% -0.0469 -0.0592)
OKLCHoklch(50.09% 0.076 231.6)
XYZxyz(10.8481, 12.8919, 24.8337)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306B87 #874C30
analogous
#308777 #306B87 #303F87
triadic
#306B87 #87306B #6B8730
tetradic
#306B87 #773087 #874C30 #3F8730
square
#306B87 #773087 #874C30 #3F8730
split-complementary
#306B87 #87303F #877730
monochromatic
#10232D #20475A #306B87 #408FB4 #68AAC9

Accessibility & contrast

On white

5.87
#306B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#306B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306B87
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306B87#FFFFFF#000000##FFFFFF
##306B871.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6A88
Deuteranopia (green-blind)
#516187
Tritanopia (blue-blind)
#007374
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #306b87;
/* rgb */ color: rgb(48, 107, 135);
/* oklch */ color: oklch(50.1% 0.076 231.6);
Tailwind
colors: {
  custom: {
    50: '#7295aa',
    500: '#306b87',
    950: '#000000',
  },
}
SCSS
$custom: #306b87;
$custom-light: #7295aa;
$custom-dark: #000000;
JSON
{
  "hex": "#306b87",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 135
  },
  "hsl": {
    "h": 199.31,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5009,
    "c": 0.07554,
    "h": 231.6
  },
  "luminance": 0.12893
}

Semantic roles & 50–950 ramp

primary
#306B87
secondary
#B17B62
accent
#7C51D7
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #306B87

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

Preview Lab → · Contrast checker → · Palette generator →

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