#305D87#305D87

#305D87 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.6% C 0.085 H 248.6°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#305D87
RGBrgb(48, 93, 135)
HSLhsl(209, 48%, 36%)
HSVhsv(209, 64%, 53%)
CMYKcmyk(64.4%, 31.1%, 0%, 47.1%)
CIE-LABlab(38.21, -1.58, -27.99)
CIE-LCHlch(38.21, 28.04, 266.77°)
OKLaboklab(46.61% -0.0309 -0.079)
OKLCHoklch(46.61% 0.085 248.6)
XYZxyz(9.5048, 10.2054, 24.3859)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305D87 #875A30
analogous
#308785 #305D87 #303187
triadic
#305D87 #87305D #5D8730
tetradic
#305D87 #853087 #875A30 #318730
square
#305D87 #853087 #875A30 #318730
split-complementary
#305D87 #873031 #878530
monochromatic
#101F2D #203E5A #305D87 #407CB4 #689AC9

Accessibility & contrast

On white

6.91
#305D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#305D87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305D87
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305D87#FFFFFF#000000##FFFFFF
##305D871.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5F89
Deuteranopia (green-blind)
#3F5686
Tritanopia (blue-blind)
#00676C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #305d87;
/* rgb */ color: rgb(48, 93, 135);
/* oklch */ color: oklch(46.6% 0.085 248.6);
Tailwind
colors: {
  custom: {
    50: '#718aaa',
    500: '#305d87',
    950: '#000000',
  },
}
SCSS
$custom: #305d87;
$custom-light: #718aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#305d87",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 135
  },
  "hsl": {
    "h": 208.966,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46613,
    "c": 0.08482,
    "h": 248.6
  },
  "luminance": 0.10206
}

Semantic roles & 50–950 ramp

primary
#305D87
secondary
#B18862
accent
#9251D7
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #305D87

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

Preview Lab → · Contrast checker → · Palette generator →

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