#305261#305261

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

Color values

HEX#305261
RGBrgb(48, 82, 97)
HSLhsl(198, 34%, 28%)
HSVhsv(198, 51%, 38%)
CMYKcmyk(50.5%, 15.5%, 0%, 62%)
CIE-LABlab(32.97, -7.75, -12.56)
CIE-LCHlch(32.97, 14.76, 238.32°)
OKLaboklab(41.91% -0.0313 -0.0348)
OKLCHoklch(41.91% 0.047 228)
XYZxyz(6.3931, 7.5255, 12.4226)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305261 #613F30
analogous
#306157 #305261 #303961
triadic
#305261 #613052 #526130
tetradic
#305261 #573061 #613F30 #396130
square
#305261 #573061 #613F30 #396130
split-complementary
#305261 #613039 #615730
monochromatic
#0A1114 #1C2F38 #305261 #44758A #5D96AF

Accessibility & contrast

On white

8.38
#305261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#305261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305261
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305261#FFFFFF#000000##FFFFFF
##3052611.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5162
Deuteranopia (green-blind)
#434B61
Tritanopia (blue-blind)
#185657
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #305261;
/* rgb */ color: rgb(48, 82, 97);
/* oklch */ color: oklch(41.9% 0.047 228.0);
Tailwind
colors: {
  custom: {
    50: '#6c828e',
    500: '#305261',
    950: '#000000',
  },
}
SCSS
$custom: #305261;
$custom-light: #6c828e;
$custom-dark: #000000;
JSON
{
  "hex": "#305261",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 97
  },
  "hsl": {
    "h": 198.367,
    "s": 33.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41905,
    "c": 0.04679,
    "h": 228
  },
  "luminance": 0.07526
}

Semantic roles & 50–950 ramp

primary
#305261
secondary
#926C5A
accent
#7F5ECA
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#070A0C
muted
#7A7C7D

Preview Lab

Preview with #305261

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

Preview Lab → · Contrast checker → · Palette generator →

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