#304558#304558

#304558 is a dark, muted cyan. Relative luminance 0.056; OKLCH L 38.1% C 0.042 H 246.5°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#304558
RGBrgb(48, 69, 88)
HSLhsl(209, 29%, 27%)
HSVhsv(209, 45%, 35%)
CMYKcmyk(45.5%, 21.6%, 0%, 65.5%)
CIE-LABlab(28.35, -2.48, -13.89)
CIE-LCHlch(28.35, 14.11, 259.87°)
OKLaboklab(38.12% -0.0168 -0.0385)
OKLCHoklch(38.12% 0.042 246.5)
XYZxyz(5.1079, 5.5889, 10.0402)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304558 #584330
analogous
#305857 #304558 #303158
triadic
#304558 #583045 #455830
tetradic
#304558 #573058 #584330 #315830
square
#304558 #573058 #584330 #315830
split-complementary
#304558 #583031 #585730
monochromatic
#0B1014 #1A2630 #304558 #466480 #5C83A6

Accessibility & contrast

On white

9.92
#304558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#304558 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304558
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304558#FFFFFF#000000##FFFFFF
##3045581.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4559
Deuteranopia (green-blind)
#384158
Tritanopia (blue-blind)
#21494B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #304558;
/* rgb */ color: rgb(48, 69, 88);
/* oklch */ color: oklch(38.1% 0.042 246.5);
Tailwind
colors: {
  custom: {
    50: '#6a7887',
    500: '#304558',
    950: '#000000',
  },
}
SCSS
$custom: #304558;
$custom-light: #6a7887;
$custom-dark: #000000;
JSON
{
  "hex": "#304558",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 88
  },
  "hsl": {
    "h": 208.5,
    "s": 29.412,
    "l": 26.667
  },
  "oklch": {
    "l": 0.38119,
    "c": 0.04199,
    "h": 246.5
  },
  "luminance": 0.05589
}

Semantic roles & 50–950 ramp

primary
#304558
secondary
#89715A
accent
#9162C6
background
#F6F7F8
surface
#EBEDEF
border
#C6C8CA
text
#06090B
muted
#7A7B7C

Preview Lab

Preview with #304558

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

Preview Lab → · Contrast checker → · Palette generator →

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