#305B87#305B87

#305B87 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.1% C 0.087 H 250.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#305B87
RGBrgb(48, 91, 135)
HSLhsl(210, 48%, 36%)
HSVhsv(210, 64%, 53%)
CMYKcmyk(64.4%, 32.6%, 0%, 47.1%)
CIE-LABlab(37.59, -0.32, -28.97)
CIE-LCHlch(37.59, 28.97, 269.37°)
OKLaboklab(46.13% -0.0286 -0.0818)
OKLCHoklch(46.13% 0.087 250.7)
XYZxyz(9.3316, 9.8589, 24.3282)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305B87 #875C30
analogous
#308687 #305B87 #303087
triadic
#305B87 #87305B #5B8730
tetradic
#305B87 #873086 #875C30 #308730
square
#305B87 #873086 #875C30 #308730
split-complementary
#305B87 #873030 #868730
monochromatic
#101E2D #203D5A #305B87 #4079B4 #6898C9

Accessibility & contrast

On white

7.07
#305B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#305B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305B87
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305B87#FFFFFF#000000##FFFFFF
##305B871.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485D89
Deuteranopia (green-blind)
#3C5586
Tritanopia (blue-blind)
#00656B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #305b87;
/* rgb */ color: rgb(48, 91, 135);
/* oklch */ color: oklch(46.1% 0.087 250.7);
Tailwind
colors: {
  custom: {
    50: '#7189aa',
    500: '#305b87',
    950: '#000000',
  },
}
SCSS
$custom: #305b87;
$custom-light: #7189aa;
$custom-dark: #000000;
JSON
{
  "hex": "#305b87",
  "rgb": {
    "r": 48,
    "g": 91,
    "b": 135
  },
  "hsl": {
    "h": 210.345,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46126,
    "c": 0.0867,
    "h": 250.7
  },
  "luminance": 0.0986
}

Semantic roles & 50–950 ramp

primary
#305B87
secondary
#B18A62
accent
#9551D7
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #305B87

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

Preview Lab → · Contrast checker → · Palette generator →

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