#305D71#305D71

#305D71 is a mid, muted cyan. Relative luminance 0.096; OKLCH L 45.5% C 0.059 H 228.9°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#305D71
RGBrgb(48, 93, 113)
HSLhsl(198, 40%, 32%)
HSVhsv(198, 58%, 44%)
CMYKcmyk(57.5%, 17.7%, 0%, 55.7%)
CIE-LABlab(37.20, -9.18, -16.08)
CIE-LCHlch(37.20, 18.51, 240.27°)
OKLaboklab(45.49% -0.0389 -0.0447)
OKLCHoklch(45.49% 0.059 228.9)
XYZxyz(8.1128, 9.6486, 17.0544)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305D71 #714430
analogous
#307165 #305D71 #303D71
triadic
#305D71 #71305D #5D7130
tetradic
#305D71 #653071 #714430 #3D7130
square
#305D71 #653071 #714430 #3D7130
split-complementary
#305D71 #71303D #716530
monochromatic
#0C161B #1E3A46 #305D71 #42809C #609FBB

Accessibility & contrast

On white

7.17
#305D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #305D71
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305D71#FFFFFF#000000##FFFFFF
##305D711.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535C72
Deuteranopia (green-blind)
#495471
Tritanopia (blue-blind)
#006363
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #305d71;
/* rgb */ color: rgb(48, 93, 113);
/* oklch */ color: oklch(45.5% 0.059 228.9);
Tailwind
colors: {
  custom: {
    50: '#6e8b99',
    500: '#305d71',
    950: '#000000',
  },
}
SCSS
$custom: #305d71;
$custom-light: #6e8b99;
$custom-dark: #000000;
JSON
{
  "hex": "#305d71",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 113
  },
  "hsl": {
    "h": 198.462,
    "s": 40.373,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45487,
    "c": 0.0593,
    "h": 228.9
  },
  "luminance": 0.09649
}

Semantic roles & 50–950 ramp

primary
#305D71
secondary
#A2715B
accent
#7D58D0
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #305D71

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

Preview Lab → · Contrast checker → · Palette generator →

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