#305F71#305F71

#305F71 is a mid, muted cyan. Relative luminance 0.100; OKLCH L 46.0% C 0.059 H 225.3°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#305F71
RGBrgb(48, 95, 113)
HSLhsl(197, 40%, 32%)
HSVhsv(197, 58%, 44%)
CMYKcmyk(57.5%, 15.9%, 0%, 55.7%)
CIE-LABlab(37.85, -10.37, -15.09)
CIE-LCHlch(37.85, 18.31, 235.50°)
OKLaboklab(46% -0.0414 -0.0419)
OKLCHoklch(46% 0.059 225.3)
XYZxyz(8.2906, 10.0043, 17.1137)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305F71 #714230
analogous
#307163 #305F71 #303F71
triadic
#305F71 #71305F #5F7130
tetradic
#305F71 #633071 #714230 #3F7130
square
#305F71 #633071 #714230 #3F7130
split-complementary
#305F71 #71303F #716330
monochromatic
#0C171B #1E3B46 #305F71 #42839C #60A2BB

Accessibility & contrast

On white

7.00
#305F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#305F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305F71
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305F71#FFFFFF#000000##FFFFFF
##305F711.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555D72
Deuteranopia (green-blind)
#4C5671
Tritanopia (blue-blind)
#006465
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #305f71;
/* rgb */ color: rgb(48, 95, 113);
/* oklch */ color: oklch(46.0% 0.059 225.3);
Tailwind
colors: {
  custom: {
    50: '#6e8c99',
    500: '#305f71',
    950: '#000000',
  },
}
SCSS
$custom: #305f71;
$custom-light: #6e8c99;
$custom-dark: #000000;
JSON
{
  "hex": "#305f71",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 113
  },
  "hsl": {
    "h": 196.615,
    "s": 40.373,
    "l": 31.569
  },
  "oklch": {
    "l": 0.46002,
    "c": 0.05895,
    "h": 225.3
  },
  "luminance": 0.10005
}

Semantic roles & 50–950 ramp

primary
#305F71
secondary
#A26E5B
accent
#7958D0
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#080C0E
muted
#7B7D7E

Preview Lab

Preview with #305F71

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

Preview Lab → · Contrast checker → · Palette generator →

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