#304560#304560

#304560 is a dark, muted cyan. Relative luminance 0.057; OKLCH L 38.5% C 0.053 H 255.1°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#304560
RGBrgb(48, 69, 96)
HSLhsl(214, 33%, 28%)
HSVhsv(214, 50%, 38%)
CMYKcmyk(50%, 28.1%, 0%, 62.4%)
CIE-LABlab(28.72, 0.15, -18.48)
CIE-LCHlch(28.72, 18.48, 270.46°)
OKLaboklab(38.53% -0.0138 -0.0516)
OKLCHoklch(38.53% 0.053 255.1)
XYZxyz(5.4577, 5.7288, 11.8822)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304560 #604B30
analogous
#305D60 #304560 #333060
triadic
#304560 #603045 #456030
tetradic
#304560 #60305D #604B30 #306033
square
#304560 #60305D #604B30 #306033
split-complementary
#304560 #603330 #5D6030
monochromatic
#0A0F14 #1C2837 #304560 #446289 #5D80AE

Accessibility & contrast

On white

9.79
#304560 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#304560 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304560
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304560#FFFFFF#000000##FFFFFF
##3045601.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4661
Deuteranopia (green-blind)
#35425F
Tritanopia (blue-blind)
#1C4B4E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #304560;
/* rgb */ color: rgb(48, 69, 96);
/* oklch */ color: oklch(38.5% 0.053 255.1);
Tailwind
colors: {
  custom: {
    50: '#6b788d',
    500: '#304560',
    950: '#000000',
  },
}
SCSS
$custom: #304560;
$custom-light: #6b788d;
$custom-dark: #000000;
JSON
{
  "hex": "#304560",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 96
  },
  "hsl": {
    "h": 213.75,
    "s": 33.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38529,
    "c": 0.05341,
    "h": 255.1
  },
  "luminance": 0.05729
}

Semantic roles & 50–950 ramp

primary
#304560
secondary
#91795A
accent
#9B5EC9
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07090C
muted
#7A7B7D

Preview Lab

Preview with #304560

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

Preview Lab → · Contrast checker → · Palette generator →

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