#305B77#305B77

#305B77 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.3% C 0.066 H 239.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#305B77
RGBrgb(48, 91, 119)
HSLhsl(204, 43%, 33%)
HSVhsv(204, 60%, 47%)
CMYKcmyk(59.7%, 23.5%, 0%, 53.3%)
CIE-LABlab(36.82, -5.95, -20.37)
CIE-LCHlch(36.82, 21.22, 253.71°)
OKLaboklab(45.27% -0.0341 -0.057)
OKLCHoklch(45.27% 0.066 239.1)
XYZxyz(8.2885, 9.4417, 18.8348)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305B77 #774C30
analogous
#30776F #305B77 #303777
triadic
#305B77 #77305B #5B7730
tetradic
#305B77 #6F3077 #774C30 #377730
square
#305B77 #6F3077 #774C30 #377730
split-complementary
#305B77 #773037 #776F30
monochromatic
#0D1820 #1E3A4B #305B77 #427CA3 #629BC0

Accessibility & contrast

On white

7.27
#305B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#305B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305B77
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305B77#FFFFFF#000000##FFFFFF
##305B771.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5B78
Deuteranopia (green-blind)
#455377
Tritanopia (blue-blind)
#006264
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #305b77;
/* rgb */ color: rgb(48, 91, 119);
/* oklch */ color: oklch(45.3% 0.066 239.1);
Tailwind
colors: {
  custom: {
    50: '#6f899e',
    500: '#305b77',
    950: '#000000',
  },
}
SCSS
$custom: #305b77;
$custom-light: #6f899e;
$custom-dark: #000000;
JSON
{
  "hex": "#305b77",
  "rgb": {
    "r": 48,
    "g": 91,
    "b": 119
  },
  "hsl": {
    "h": 203.662,
    "s": 42.515,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45269,
    "c": 0.0664,
    "h": 239.1
  },
  "luminance": 0.09442
}

Semantic roles & 50–950 ramp

primary
#305B77
secondary
#A77A5C
accent
#8755D2
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #305B77

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

Preview Lab → · Contrast checker → · Palette generator →

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