#305162#305162

#305162 is a dark, muted cyan. Relative luminance 0.074; OKLCH L 41.7% C 0.048 H 232.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#305162
RGBrgb(48, 81, 98)
HSLhsl(200, 34%, 29%)
HSVhsv(200, 51%, 38%)
CMYKcmyk(51%, 17.3%, 0%, 61.6%)
CIE-LABlab(32.69, -6.82, -13.63)
CIE-LCHlch(32.69, 15.24, 243.42°)
OKLaboklab(41.69% -0.0295 -0.0378)
OKLCHoklch(41.69% 0.048 232)
XYZxyz(6.3652, 7.3946, 12.6448)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305162 #624130
analogous
#30625A #305162 #303862
triadic
#305162 #623051 #516230
tetradic
#305162 #5A3062 #624130 #386230
square
#305162 #5A3062 #624130 #386230
split-complementary
#305162 #623038 #625A30
monochromatic
#0A1115 #1C2F39 #305162 #44738B #5D93B0

Accessibility & contrast

On white

8.47
#305162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#305162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305162
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305162#FFFFFF#000000##FFFFFF
##3051621.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495063
Deuteranopia (green-blind)
#424A62
Tritanopia (blue-blind)
#185656
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #305162;
/* rgb */ color: rgb(48, 81, 98);
/* oklch */ color: oklch(41.7% 0.048 232.0);
Tailwind
colors: {
  custom: {
    50: '#6c818e',
    500: '#305162',
    950: '#000000',
  },
}
SCSS
$custom: #305162;
$custom-light: #6c818e;
$custom-dark: #000000;
JSON
{
  "hex": "#305162",
  "rgb": {
    "r": 48,
    "g": 81,
    "b": 98
  },
  "hsl": {
    "h": 200.4,
    "s": 34.247,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41692,
    "c": 0.04795,
    "h": 232
  },
  "luminance": 0.07395
}

Semantic roles & 50–950 ramp

primary
#305162
secondary
#936E5A
accent
#825DCA
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#070A0C
muted
#7A7C7D

Preview Lab

Preview with #305162

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

Preview Lab → · Contrast checker → · Palette generator →

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