#305C77#305C77

#305C77 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.5% C 0.066 H 237.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#305C77
RGBrgb(48, 92, 119)
HSLhsl(203, 43%, 33%)
HSVhsv(203, 60%, 47%)
CMYKcmyk(59.7%, 22.7%, 0%, 53.3%)
CIE-LABlab(37.14, -6.56, -19.87)
CIE-LCHlch(37.14, 20.93, 251.73°)
OKLaboklab(45.52% -0.0353 -0.0555)
OKLCHoklch(45.52% 0.066 237.5)
XYZxyz(8.3746, 9.6138, 18.8635)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305C77 #774B30
analogous
#30776E #305C77 #303877
triadic
#305C77 #77305C #5C7730
tetradic
#305C77 #6E3077 #774B30 #387730
square
#305C77 #6E3077 #774B30 #387730
split-complementary
#305C77 #773038 #776E30
monochromatic
#0D1920 #1E3A4B #305C77 #427EA3 #629CC0

Accessibility & contrast

On white

7.18
#305C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#305C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305C77
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305C77#FFFFFF#000000##FFFFFF
##305C771.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505C78
Deuteranopia (green-blind)
#465477
Tritanopia (blue-blind)
#006365
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #305c77;
/* rgb */ color: rgb(48, 92, 119);
/* oklch */ color: oklch(45.5% 0.066 237.5);
Tailwind
colors: {
  custom: {
    50: '#6f8a9e',
    500: '#305c77',
    950: '#000000',
  },
}
SCSS
$custom: #305c77;
$custom-light: #6f8a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#305c77",
  "rgb": {
    "r": 48,
    "g": 92,
    "b": 119
  },
  "hsl": {
    "h": 202.817,
    "s": 42.515,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45521,
    "c": 0.06584,
    "h": 237.5
  },
  "luminance": 0.09615
}

Semantic roles & 50–950 ramp

primary
#305C77
secondary
#A7785C
accent
#8555D2
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #305C77

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

Preview Lab → · Contrast checker → · Palette generator →

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