#304F5F#304F5F

#304F5F is a dark, muted cyan. Relative luminance 0.070; OKLCH L 41.0% C 0.045 H 231.9°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#304F5F
RGBrgb(48, 79, 95)
HSLhsl(200, 33%, 28%)
HSVhsv(200, 49%, 37%)
CMYKcmyk(49.5%, 16.8%, 0%, 62.7%)
CIE-LABlab(31.91, -6.55, -12.92)
CIE-LCHlch(31.91, 14.49, 243.11°)
OKLaboklab(41.03% -0.0281 -0.0358)
OKLCHoklch(41.03% 0.045 231.9)
XYZxyz(6.0797, 7.0461, 11.8639)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304F5F #5F4030
analogous
#305F57 #304F5F #30375F
triadic
#304F5F #5F304F #4F5F30
tetradic
#304F5F #57305F #5F4030 #375F30
square
#304F5F #57305F #5F4030 #375F30
split-complementary
#304F5F #5F3037 #5F5730
monochromatic
#0A1114 #1B2D36 #304F5F #457188 #5D92AD

Accessibility & contrast

On white

8.72
#304F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#304F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304F5F
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304F5F#FFFFFF#000000##FFFFFF
##304F5F1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474E60
Deuteranopia (green-blind)
#40495F
Tritanopia (blue-blind)
#1B5354
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #304f5f;
/* rgb */ color: rgb(48, 79, 95);
/* oklch */ color: oklch(41.0% 0.045 231.9);
Tailwind
colors: {
  custom: {
    50: '#6b808c',
    500: '#304f5f',
    950: '#000000',
  },
}
SCSS
$custom: #304f5f;
$custom-light: #6b808c;
$custom-dark: #000000;
JSON
{
  "hex": "#304f5f",
  "rgb": {
    "r": 48,
    "g": 79,
    "b": 95
  },
  "hsl": {
    "h": 200.426,
    "s": 32.867,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41034,
    "c": 0.04546,
    "h": 231.9
  },
  "luminance": 0.07047
}

Semantic roles & 50–950 ramp

primary
#304F5F
secondary
#906D5A
accent
#835FC9
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#070A0C
muted
#7A7C7D

Preview Lab

Preview with #304F5F

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

Preview Lab → · Contrast checker → · Palette generator →

#304F5F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva