#305C8D#305C8D

#305C8D is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.7% C 0.094 H 252.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#305C8D
RGBrgb(48, 92, 141)
HSLhsl(212, 49%, 37%)
HSVhsv(212, 66%, 55%)
CMYKcmyk(66%, 34.8%, 0%, 44.7%)
CIE-LABlab(38.21, 1.22, -31.64)
CIE-LCHlch(38.21, 31.66, 272.21°)
OKLaboklab(46.71% -0.028 -0.0896)
OKLCHoklch(46.71% 0.094 252.7)
XYZxyz(9.8520, 10.2048, 26.6447)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305C8D #8D6130
analogous
#308B8D #305C8D #33308D
triadic
#305C8D #8D305C #5C8D30
tetradic
#305C8D #8D308B #8D6130 #308D33
square
#305C8D #8D308B #8D6130 #308D33
split-complementary
#305C8D #8D3330 #8B8D30
monochromatic
#112032 #203E5F #305C8D #407ABB #6B99CD

Accessibility & contrast

On white

6.91
#305C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#305C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305C8D
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305C8D#FFFFFF#000000##FFFFFF
##305C8D1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475F8F
Deuteranopia (green-blind)
#3A568C
Tritanopia (blue-blind)
#00676E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #305c8d;
/* rgb */ color: rgb(48, 92, 141);
/* oklch */ color: oklch(46.7% 0.094 252.7);
Tailwind
colors: {
  custom: {
    50: '#7289ae',
    500: '#305c8d',
    950: '#000000',
  },
}
SCSS
$custom: #305c8d;
$custom-light: #7289ae;
$custom-dark: #000000;
JSON
{
  "hex": "#305c8d",
  "rgb": {
    "r": 48,
    "g": 92,
    "b": 141
  },
  "hsl": {
    "h": 211.613,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46713,
    "c": 0.09387,
    "h": 252.7
  },
  "luminance": 0.10206
}

Semantic roles & 50–950 ramp

primary
#305C8D
secondary
#B48F65
accent
#984FD9
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #305C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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