#305C8F#305C8F

#305C8F is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.8% C 0.097 H 253.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#305C8F
RGBrgb(48, 92, 143)
HSLhsl(212, 50%, 37%)
HSVhsv(212, 66%, 56%)
CMYKcmyk(66.4%, 35.7%, 0%, 43.9%)
CIE-LABlab(38.31, 1.95, -32.68)
CIE-LCHlch(38.31, 32.74, 273.41°)
OKLaboklab(46.83% -0.0274 -0.0926)
OKLCHoklch(46.83% 0.097 253.5)
XYZxyz(10.0022, 10.2649, 27.4355)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305C8F #8F6330
analogous
#308B8F #305C8F #34308F
triadic
#305C8F #8F305C #5C8F30
tetradic
#305C8F #8F308B #8F6330 #308F34
square
#305C8F #8F308B #8F6330 #308F34
split-complementary
#305C8F #8F3430 #8B8F30
monochromatic
#112133 #213F61 #305C8F #3F79BD #6C99CE

Accessibility & contrast

On white

6.88
#305C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#305C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305C8F
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305C8F#FFFFFF#000000##FFFFFF
##305C8F1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465F91
Deuteranopia (green-blind)
#39568E
Tritanopia (blue-blind)
#00686F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #305c8f;
/* rgb */ color: rgb(48, 92, 143);
/* oklch */ color: oklch(46.8% 0.097 253.5);
Tailwind
colors: {
  custom: {
    50: '#7289b0',
    500: '#305c8f',
    950: '#000000',
  },
}
SCSS
$custom: #305c8f;
$custom-light: #7289b0;
$custom-dark: #000000;
JSON
{
  "hex": "#305c8f",
  "rgb": {
    "r": 48,
    "g": 92,
    "b": 143
  },
  "hsl": {
    "h": 212.211,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46831,
    "c": 0.09661,
    "h": 253.5
  },
  "luminance": 0.10266
}

Semantic roles & 50–950 ramp

primary
#305C8F
secondary
#B59066
accent
#994FD9
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #305C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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