#305A87#305A87

#305A87 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 45.9% C 0.088 H 251.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#305A87
RGBrgb(48, 90, 135)
HSLhsl(211, 48%, 36%)
HSVhsv(211, 64%, 53%)
CMYKcmyk(64.4%, 33.3%, 0%, 47.1%)
CIE-LABlab(37.28, 0.31, -29.45)
CIE-LCHlch(37.28, 29.46, 270.61°)
OKLaboklab(45.88% -0.0275 -0.0833)
OKLCHoklch(45.88% 0.088 251.7)
XYZxyz(9.2467, 9.6891, 24.2999)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305A87 #875D30
analogous
#308587 #305A87 #313087
triadic
#305A87 #87305A #5A8730
tetradic
#305A87 #873085 #875D30 #308731
square
#305A87 #873085 #875D30 #308731
split-complementary
#305A87 #873130 #858730
monochromatic
#101E2D #203C5A #305A87 #4078B4 #6897C9

Accessibility & contrast

On white

7.15
#305A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#305A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305A87
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305A87#FFFFFF#000000##FFFFFF
##305A871.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475C89
Deuteranopia (green-blind)
#3B5486
Tritanopia (blue-blind)
#00646A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #305a87;
/* rgb */ color: rgb(48, 90, 135);
/* oklch */ color: oklch(45.9% 0.088 251.7);
Tailwind
colors: {
  custom: {
    50: '#7188aa',
    500: '#305a87',
    950: '#000000',
  },
}
SCSS
$custom: #305a87;
$custom-light: #7188aa;
$custom-dark: #000000;
JSON
{
  "hex": "#305a87",
  "rgb": {
    "r": 48,
    "g": 90,
    "b": 135
  },
  "hsl": {
    "h": 211.034,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45883,
    "c": 0.08769,
    "h": 251.7
  },
  "luminance": 0.0969
}

Semantic roles & 50–950 ramp

primary
#305A87
secondary
#B18B62
accent
#9651D7
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #305A87

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

Preview Lab → · Contrast checker → · Palette generator →

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