#305779#305779

#305779 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.4% C 0.072 H 246.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#305779
RGBrgb(48, 87, 121)
HSLhsl(208, 43%, 33%)
HSVhsv(208, 60%, 47%)
CMYKcmyk(60.3%, 28.1%, 0%, 52.5%)
CIE-LABlab(35.64, -2.78, -23.43)
CIE-LCHlch(35.64, 23.59, 263.23°)
OKLaboklab(44.37% -0.0285 -0.0658)
OKLCHoklch(44.37% 0.072 246.6)
XYZxyz(8.0771, 8.8245, 19.3631)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305779 #795230
analogous
#307976 #305779 #303379
triadic
#305779 #793057 #577930
tetradic
#305779 #763079 #795230 #337930
square
#305779 #763079 #795230 #337930
split-complementary
#305779 #793033 #797630
monochromatic
#0D1821 #1F374D #305779 #4177A5 #6295C1

Accessibility & contrast

On white

7.59
#305779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#305779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305779
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305779#FFFFFF#000000##FFFFFF
##3057791.007.592.767.59
#FFFFFF7.591.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48587B
Deuteranopia (green-blind)
#3F5178
Tritanopia (blue-blind)
#005F63
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #305779;
/* rgb */ color: rgb(48, 87, 121);
/* oklch */ color: oklch(44.4% 0.072 246.6);
Tailwind
colors: {
  custom: {
    50: '#6f86a0',
    500: '#305779',
    950: '#000000',
  },
}
SCSS
$custom: #305779;
$custom-light: #6f86a0;
$custom-dark: #000000;
JSON
{
  "hex": "#305779",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 121
  },
  "hsl": {
    "h": 207.945,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44369,
    "c": 0.07171,
    "h": 246.6
  },
  "luminance": 0.08825
}

Semantic roles & 50–950 ramp

primary
#305779
secondary
#A8805D
accent
#9055D3
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #305779

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

Preview Lab → · Contrast checker → · Palette generator →

#305779 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva