#305E87#305E87

#305E87 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.9% C 0.084 H 247.5°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#305E87
RGBrgb(48, 94, 135)
HSLhsl(208, 48%, 36%)
HSVhsv(208, 64%, 53%)
CMYKcmyk(64.4%, 30.4%, 0%, 47.1%)
CIE-LABlab(38.52, -2.20, -27.51)
CIE-LCHlch(38.52, 27.59, 265.43°)
OKLaboklab(46.86% -0.0321 -0.0776)
OKLCHoklch(46.86% 0.084 247.5)
XYZxyz(9.5932, 10.3821, 24.4154)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305E87 #875930
analogous
#308784 #305E87 #303287
triadic
#305E87 #87305E #5E8730
tetradic
#305E87 #843087 #875930 #328730
square
#305E87 #843087 #875930 #328730
split-complementary
#305E87 #873032 #878430
monochromatic
#101F2D #203F5A #305E87 #407DB4 #689BC9

Accessibility & contrast

On white

6.83
#305E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#305E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305E87
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305E87#FFFFFF#000000##FFFFFF
##305E871.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5F89
Deuteranopia (green-blind)
#405786
Tritanopia (blue-blind)
#00686C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #305e87;
/* rgb */ color: rgb(48, 94, 135);
/* oklch */ color: oklch(46.9% 0.084 247.5);
Tailwind
colors: {
  custom: {
    50: '#718baa',
    500: '#305e87',
    950: '#000000',
  },
}
SCSS
$custom: #305e87;
$custom-light: #718baa;
$custom-dark: #000000;
JSON
{
  "hex": "#305e87",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 135
  },
  "hsl": {
    "h": 208.276,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46858,
    "c": 0.08393,
    "h": 247.5
  },
  "luminance": 0.10383
}

Semantic roles & 50–950 ramp

primary
#305E87
secondary
#B18762
accent
#9051D7
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #305E87

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

Preview Lab → · Contrast checker → · Palette generator →

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