#305D8F#305D8F

#305D8F is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 47.1% C 0.096 H 252.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#305D8F
RGBrgb(48, 93, 143)
HSLhsl(212, 50%, 37%)
HSVhsv(212, 66%, 56%)
CMYKcmyk(66.4%, 35%, 0%, 43.9%)
CIE-LABlab(38.62, 1.31, -32.20)
CIE-LCHlch(38.62, 32.22, 272.34°)
OKLaboklab(47.07% -0.0285 -0.0912)
OKLCHoklch(47.07% 0.096 252.6)
XYZxyz(10.0894, 10.4393, 27.4645)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305D8F #8F6230
analogous
#308C8F #305D8F #33308F
triadic
#305D8F #8F305D #5D8F30
tetradic
#305D8F #8F308C #8F6230 #308F33
square
#305D8F #8F308C #8F6230 #308F33
split-complementary
#305D8F #8F3330 #8C8F30
monochromatic
#112133 #213F61 #305D8F #3F7BBD #6C9ACE

Accessibility & contrast

On white

6.80
#305D8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#305D8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305D8F
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305D8F#FFFFFF#000000##FFFFFF
##305D8F1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476091
Deuteranopia (green-blind)
#3A578E
Tritanopia (blue-blind)
#00696F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #305d8f;
/* rgb */ color: rgb(48, 93, 143);
/* oklch */ color: oklch(47.1% 0.096 252.6);
Tailwind
colors: {
  custom: {
    50: '#728ab0',
    500: '#305d8f',
    950: '#000000',
  },
}
SCSS
$custom: #305d8f;
$custom-light: #728ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#305d8f",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 143
  },
  "hsl": {
    "h": 211.579,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4707,
    "c": 0.09557,
    "h": 252.6
  },
  "luminance": 0.1044
}

Semantic roles & 50–950 ramp

primary
#305D8F
secondary
#B58F66
accent
#984FD9
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #305D8F

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

Preview Lab → · Contrast checker → · Palette generator →

#305D8F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva