#305B71#305B71

#305B71 is a dark, muted cyan. Relative luminance 0.093; OKLCH L 45.0% C 0.060 H 232.5°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#305B71
RGBrgb(48, 91, 113)
HSLhsl(200, 40%, 32%)
HSVhsv(200, 58%, 44%)
CMYKcmyk(57.5%, 19.5%, 0%, 55.7%)
CIE-LABlab(36.56, -7.98, -17.07)
CIE-LCHlch(36.56, 18.84, 244.94°)
OKLaboklab(44.97% -0.0364 -0.0475)
OKLCHoklch(44.97% 0.06 232.5)
XYZxyz(7.9395, 9.3021, 16.9967)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305B71 #714630
analogous
#307167 #305B71 #303B71
triadic
#305B71 #71305B #5B7130
tetradic
#305B71 #673071 #714630 #3B7130
square
#305B71 #673071 #714630 #3B7130
split-complementary
#305B71 #71303B #716730
monochromatic
#0C161B #1E3846 #305B71 #427E9C #609CBB

Accessibility & contrast

On white

7.34
#305B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#305B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305B71
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305B71#FFFFFF#000000##FFFFFF
##305B711.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505A72
Deuteranopia (green-blind)
#475371
Tritanopia (blue-blind)
#006162
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #305b71;
/* rgb */ color: rgb(48, 91, 113);
/* oklch */ color: oklch(45.0% 0.060 232.5);
Tailwind
colors: {
  custom: {
    50: '#6e899a',
    500: '#305b71',
    950: '#000000',
  },
}
SCSS
$custom: #305b71;
$custom-light: #6e899a;
$custom-dark: #000000;
JSON
{
  "hex": "#305b71",
  "rgb": {
    "r": 48,
    "g": 91,
    "b": 113
  },
  "hsl": {
    "h": 200.308,
    "s": 40.373,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44974,
    "c": 0.0599,
    "h": 232.5
  },
  "luminance": 0.09303
}

Semantic roles & 50–950 ramp

primary
#305B71
secondary
#A2735B
accent
#8058D0
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #305B71

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

Preview Lab → · Contrast checker → · Palette generator →

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