#305C79#305C79

#305C79 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 45.6% C 0.068 H 239.5°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#305C79
RGBrgb(48, 92, 121)
HSLhsl(204, 43%, 33%)
HSVhsv(204, 60%, 47%)
CMYKcmyk(60.3%, 24%, 0%, 52.5%)
CIE-LABlab(37.23, -5.88, -20.96)
CIE-LCHlch(37.23, 21.77, 254.34°)
OKLaboklab(45.62% -0.0346 -0.0587)
OKLCHoklch(45.62% 0.068 239.5)
XYZxyz(8.4960, 9.6624, 19.5027)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305C79 #794D30
analogous
#307971 #305C79 #303779
triadic
#305C79 #79305C #5C7930
tetradic
#305C79 #713079 #794D30 #377930
square
#305C79 #713079 #794D30 #377930
split-complementary
#305C79 #793037 #797130
monochromatic
#0D1921 #1F3B4D #305C79 #417DA5 #629BC1

Accessibility & contrast

On white

7.16
#305C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#305C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305C79
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305C79#FFFFFF#000000##FFFFFF
##305C791.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5C7A
Deuteranopia (green-blind)
#455478
Tritanopia (blue-blind)
#006366
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #305c79;
/* rgb */ color: rgb(48, 92, 121);
/* oklch */ color: oklch(45.6% 0.068 239.5);
Tailwind
colors: {
  custom: {
    50: '#6f8a9f',
    500: '#305c79',
    950: '#000000',
  },
}
SCSS
$custom: #305c79;
$custom-light: #6f8a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#305c79",
  "rgb": {
    "r": 48,
    "g": 92,
    "b": 121
  },
  "hsl": {
    "h": 203.836,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45622,
    "c": 0.06812,
    "h": 239.5
  },
  "luminance": 0.09663
}

Semantic roles & 50–950 ramp

primary
#305C79
secondary
#A87B5D
accent
#8755D3
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #305C79

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

Preview Lab → · Contrast checker → · Palette generator →

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