#30517E#30517E

#30517E is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.2% C 0.085 H 256.5°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#30517E
RGBrgb(48, 81, 126)
HSLhsl(215, 45%, 34%)
HSVhsv(215, 62%, 49%)
CMYKcmyk(61.9%, 35.7%, 0%, 50.6%)
CIE-LABlab(34.02, 2.83, -29.06)
CIE-LCHlch(34.02, 29.20, 275.56°)
OKLaboklab(43.18% -0.0197 -0.0822)
OKLCHoklch(43.18% 0.085 256.5)
XYZxyz(7.9259, 8.0189, 20.8647)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30517E #7E5D30
analogous
#30787E #30517E #36307E
triadic
#30517E #7E3051 #517E30
tetradic
#30517E #7E3078 #7E5D30 #307E36
square
#30517E #7E3078 #7E5D30 #307E36
split-complementary
#30517E #7E3630 #787E30
monochromatic
#0E1825 #1F3552 #30517E #416DAA #648DC4

Accessibility & contrast

On white

8.06
#30517E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#30517E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30517E
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30517E#FFFFFF#000000##FFFFFF
##30517E1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5480
Deuteranopia (green-blind)
#344D7D
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #30517e;
/* rgb */ color: rgb(48, 81, 126);
/* oklch */ color: oklch(43.2% 0.085 256.5);
Tailwind
colors: {
  custom: {
    50: '#7081a3',
    500: '#30517e',
    950: '#000000',
  },
}
SCSS
$custom: #30517e;
$custom-light: #7081a3;
$custom-dark: #000000;
JSON
{
  "hex": "#30517e",
  "rgb": {
    "r": 48,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 214.615,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4318,
    "c": 0.08453,
    "h": 256.5
  },
  "luminance": 0.0802
}

Semantic roles & 50–950 ramp

primary
#30517E
secondary
#AB8B5F
accent
#9E53D5
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #30517E

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

Preview Lab → · Contrast checker → · Palette generator →

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