#305C87#305C87

#305C87 is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.4% C 0.086 H 249.7°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#305C87
RGBrgb(48, 92, 135)
HSLhsl(210, 48%, 36%)
HSVhsv(210, 64%, 53%)
CMYKcmyk(64.4%, 31.9%, 0%, 47.1%)
CIE-LABlab(37.90, -0.95, -28.48)
CIE-LCHlch(37.90, 28.50, 268.09°)
OKLaboklab(46.37% -0.0298 -0.0804)
OKLCHoklch(46.37% 0.086 249.7)
XYZxyz(9.4176, 10.0310, 24.3568)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305C87 #875B30
analogous
#308786 #305C87 #303087
triadic
#305C87 #87305C #5C8730
tetradic
#305C87 #863087 #875B30 #308730
square
#305C87 #863087 #875B30 #308730
split-complementary
#305C87 #873030 #878630
monochromatic
#101E2D #203D5A #305C87 #407BB4 #6899C9

Accessibility & contrast

On white

6.99
#305C87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#305C87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305C87
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305C87#FFFFFF#000000##FFFFFF
##305C871.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495E89
Deuteranopia (green-blind)
#3E5586
Tritanopia (blue-blind)
#00666B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #305c87;
/* rgb */ color: rgb(48, 92, 135);
/* oklch */ color: oklch(46.4% 0.086 249.7);
Tailwind
colors: {
  custom: {
    50: '#7189aa',
    500: '#305c87',
    950: '#000000',
  },
}
SCSS
$custom: #305c87;
$custom-light: #7189aa;
$custom-dark: #000000;
JSON
{
  "hex": "#305c87",
  "rgb": {
    "r": 48,
    "g": 92,
    "b": 135
  },
  "hsl": {
    "h": 209.655,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46369,
    "c": 0.08575,
    "h": 249.7
  },
  "luminance": 0.10032
}

Semantic roles & 50–950 ramp

primary
#305C87
secondary
#B18962
accent
#9351D7
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #305C87

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

Preview Lab → · Contrast checker → · Palette generator →

#305C87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva