#305166#305166

#305166 is a dark, muted cyan. Relative luminance 0.075; OKLCH L 41.9% C 0.052 H 237.7°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#305166
RGBrgb(48, 81, 102)
HSLhsl(203, 36%, 29%)
HSVhsv(203, 53%, 40%)
CMYKcmyk(52.9%, 20.6%, 0%, 60%)
CIE-LABlab(32.86, -5.51, -15.89)
CIE-LCHlch(32.86, 16.82, 250.88°)
OKLaboklab(41.88% -0.0279 -0.0442)
OKLCHoklch(41.88% 0.052 237.7)
XYZxyz(6.5588, 7.4720, 13.6644)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305166 #664530
analogous
#306660 #305166 #303666
triadic
#305166 #663051 #516630
tetradic
#305166 #603066 #664530 #366630
square
#305166 #603066 #664530 #366630
split-complementary
#305166 #663036 #666030
monochromatic
#0A1115 #1C303C #305166 #447290 #5D92B3

Accessibility & contrast

On white

8.42
#305166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#305166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305166
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305166#FFFFFF#000000##FFFFFF
##3051661.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475167
Deuteranopia (green-blind)
#404B66
Tritanopia (blue-blind)
#145658
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #305166;
/* rgb */ color: rgb(48, 81, 102);
/* oklch */ color: oklch(41.9% 0.052 237.7);
Tailwind
colors: {
  custom: {
    50: '#6c8191',
    500: '#305166',
    950: '#000000',
  },
}
SCSS
$custom: #305166;
$custom-light: #6c8191;
$custom-dark: #000000;
JSON
{
  "hex": "#305166",
  "rgb": {
    "r": 48,
    "g": 81,
    "b": 102
  },
  "hsl": {
    "h": 203.333,
    "s": 36,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41882,
    "c": 0.05228,
    "h": 237.7
  },
  "luminance": 0.07473
}

Semantic roles & 50–950 ramp

primary
#305166
secondary
#97725A
accent
#875CCC
background
#F6F7F8
surface
#ECEEF0
border
#C7C9CB
text
#070A0C
muted
#7A7C7D

Preview Lab

Preview with #305166

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

Preview Lab → · Contrast checker → · Palette generator →

#305166 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva