#305A71#305A71

#305A71 is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 44.7% C 0.060 H 234.3°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#305A71
RGBrgb(48, 90, 113)
HSLhsl(201, 40%, 32%)
HSVhsv(201, 58%, 44%)
CMYKcmyk(57.5%, 20.4%, 0%, 55.7%)
CIE-LABlab(36.24, -7.38, -17.56)
CIE-LCHlch(36.24, 19.05, 247.22°)
OKLaboklab(44.72% -0.0352 -0.0489)
OKLCHoklch(44.72% 0.06 234.3)
XYZxyz(7.8546, 9.1323, 16.9684)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305A71 #714730
analogous
#307168 #305A71 #303A71
triadic
#305A71 #71305A #5A7130
tetradic
#305A71 #683071 #714730 #3A7130
square
#305A71 #683071 #714730 #3A7130
split-complementary
#305A71 #71303A #716830
monochromatic
#0C161B #1E3846 #305A71 #427C9C #609BBB

Accessibility & contrast

On white

7.43
#305A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#305A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305A71
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305A71#FFFFFF#000000##FFFFFF
##305A711.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5972
Deuteranopia (green-blind)
#465271
Tritanopia (blue-blind)
#006062
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #305a71;
/* rgb */ color: rgb(48, 90, 113);
/* oklch */ color: oklch(44.7% 0.060 234.3);
Tailwind
colors: {
  custom: {
    50: '#6e889a',
    500: '#305a71',
    950: '#000000',
  },
}
SCSS
$custom: #305a71;
$custom-light: #6e889a;
$custom-dark: #000000;
JSON
{
  "hex": "#305a71",
  "rgb": {
    "r": 48,
    "g": 90,
    "b": 113
  },
  "hsl": {
    "h": 201.231,
    "s": 40.373,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44719,
    "c": 0.06029,
    "h": 234.3
  },
  "luminance": 0.09133
}

Semantic roles & 50–950 ramp

primary
#305A71
secondary
#A2745B
accent
#8258D0
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #305A71

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

Preview Lab → · Contrast checker → · Palette generator →

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