#305D79#305D79

#305D79 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 45.9% C 0.068 H 238.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#305D79
RGBrgb(48, 93, 121)
HSLhsl(203, 43%, 33%)
HSVhsv(203, 60%, 47%)
CMYKcmyk(60.3%, 23.1%, 0%, 52.5%)
CIE-LABlab(37.55, -6.49, -20.47)
CIE-LCHlch(37.55, 21.47, 252.42°)
OKLaboklab(45.87% -0.0358 -0.0573)
OKLCHoklch(45.87% 0.068 238)
XYZxyz(8.5832, 9.8368, 19.5318)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305D79 #794C30
analogous
#307970 #305D79 #303879
triadic
#305D79 #79305D #5D7930
tetradic
#305D79 #703079 #794C30 #387930
square
#305D79 #703079 #794C30 #387930
split-complementary
#305D79 #793038 #797030
monochromatic
#0D1A21 #1F3B4D #305D79 #417FA5 #629DC1

Accessibility & contrast

On white

7.08
#305D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#305D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305D79
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305D79#FFFFFF#000000##FFFFFF
##305D791.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505D7A
Deuteranopia (green-blind)
#465579
Tritanopia (blue-blind)
#006466
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #305d79;
/* rgb */ color: rgb(48, 93, 121);
/* oklch */ color: oklch(45.9% 0.068 238.0);
Tailwind
colors: {
  custom: {
    50: '#6f8a9f',
    500: '#305d79',
    950: '#000000',
  },
}
SCSS
$custom: #305d79;
$custom-light: #6f8a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#305d79",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 121
  },
  "hsl": {
    "h": 203.014,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45874,
    "c": 0.06753,
    "h": 238
  },
  "luminance": 0.09838
}

Semantic roles & 50–950 ramp

primary
#305D79
secondary
#A87A5D
accent
#8555D3
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #305D79

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

Preview Lab → · Contrast checker → · Palette generator →

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