#30517C#30517C

#30517C is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.1% C 0.082 H 255.6°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#30517C
RGBrgb(48, 81, 124)
HSLhsl(214, 44%, 34%)
HSVhsv(214, 61%, 49%)
CMYKcmyk(61.3%, 34.7%, 0%, 51.4%)
CIE-LABlab(33.92, 2.11, -27.99)
CIE-LCHlch(33.92, 28.07, 274.31°)
OKLaboklab(43.06% -0.0203 -0.0791)
OKLCHoklch(43.06% 0.082 255.6)
XYZxyz(7.7982, 7.9678, 20.1919)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30517C #7C5B30
analogous
#30777C #30517C #35307C
triadic
#30517C #7C3051 #517C30
tetradic
#30517C #7C3077 #7C5B30 #307C35
square
#30517C #7C3077 #7C5B30 #307C35
split-complementary
#30517C #7C3530 #777C30
monochromatic
#0E1724 #1F3450 #30517C #416EA8 #648DC3

Accessibility & contrast

On white

8.10
#30517C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#30517C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30517C
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30517C#FFFFFF#000000##FFFFFF
##30517C1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F547E
Deuteranopia (green-blind)
#354C7B
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #30517c;
/* rgb */ color: rgb(48, 81, 124);
/* oklch */ color: oklch(43.1% 0.082 255.6);
Tailwind
colors: {
  custom: {
    50: '#6f81a2',
    500: '#30517c',
    950: '#000000',
  },
}
SCSS
$custom: #30517c;
$custom-light: #6f81a2;
$custom-dark: #000000;
JSON
{
  "hex": "#30517c",
  "rgb": {
    "r": 48,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 213.947,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43062,
    "c": 0.08165,
    "h": 255.6
  },
  "luminance": 0.07968
}

Semantic roles & 50–950 ramp

primary
#30517C
secondary
#AA895E
accent
#9C54D4
background
#F7F7FA
surface
#EDEEF3
border
#C8C9CD
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #30517C

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

Preview Lab → · Contrast checker → · Palette generator →

#30517C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva