#305E71#305E71

#305E71 is a mid, muted cyan. Relative luminance 0.098; OKLCH L 45.7% C 0.059 H 227.1°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#305E71
RGBrgb(48, 94, 113)
HSLhsl(198, 40%, 32%)
HSVhsv(198, 58%, 44%)
CMYKcmyk(57.5%, 16.8%, 0%, 55.7%)
CIE-LABlab(37.53, -9.78, -15.58)
CIE-LCHlch(37.53, 18.40, 237.90°)
OKLaboklab(45.74% -0.0402 -0.0433)
OKLCHoklch(45.74% 0.059 227.1)
XYZxyz(8.2011, 9.8253, 17.0839)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305E71 #714330
analogous
#307164 #305E71 #303E71
triadic
#305E71 #71305E #5E7130
tetradic
#305E71 #643071 #714330 #3E7130
square
#305E71 #643071 #714330 #3E7130
split-complementary
#305E71 #71303E #716430
monochromatic
#0C171B #1E3A46 #305E71 #42829C #60A1BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##305E71#FFFFFF#000000##FFFFFF
##305E711.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)
#545C72
Deuteranopia (green-blind)
#4B5571
Tritanopia (blue-blind)
#006464
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #305e71;
/* rgb */ color: rgb(48, 94, 113);
/* oklch */ color: oklch(45.7% 0.059 227.1);
Tailwind
colors: {
  custom: {
    50: '#6e8b99',
    500: '#305e71',
    950: '#000000',
  },
}
SCSS
$custom: #305e71;
$custom-light: #6e8b99;
$custom-dark: #000000;
JSON
{
  "hex": "#305e71",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 113
  },
  "hsl": {
    "h": 197.538,
    "s": 40.373,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45744,
    "c": 0.05909,
    "h": 227.1
  },
  "luminance": 0.09826
}

Semantic roles & 50–950 ramp

primary
#305E71
secondary
#A2705B
accent
#7B58D0
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070C0E
muted
#7A7D7E

Preview Lab

Preview with #305E71

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

Preview Lab → · Contrast checker → · Palette generator →

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