#305C8B#305C8B

#305C8B is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.6% C 0.091 H 251.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#305C8B
RGBrgb(48, 92, 139)
HSLhsl(211, 49%, 37%)
HSVhsv(211, 65%, 55%)
CMYKcmyk(65.5%, 33.8%, 0%, 45.5%)
CIE-LABlab(38.10, 0.49, -30.59)
CIE-LCHlch(38.10, 30.59, 270.92°)
OKLaboklab(46.6% -0.0286 -0.0865)
OKLCHoklch(46.6% 0.091 251.7)
XYZxyz(9.7046, 10.1458, 25.8680)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305C8B #8B5F30
analogous
#308A8B #305C8B #32308B
triadic
#305C8B #8B305C #5C8B30
tetradic
#305C8B #8B308A #8B5F30 #308B32
square
#305C8B #8B308A #8B5F30 #308B32
split-complementary
#305C8B #8B3230 #8A8B30
monochromatic
#112030 #203E5E #305C8B #407AB8 #6A99CC

Accessibility & contrast

On white

6.93
#305C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#305C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305C8B
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305C8B#FFFFFF#000000##FFFFFF
##305C8B1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485E8D
Deuteranopia (green-blind)
#3B568A
Tritanopia (blue-blind)
#00676D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #305c8b;
/* rgb */ color: rgb(48, 92, 139);
/* oklch */ color: oklch(46.6% 0.091 251.7);
Tailwind
colors: {
  custom: {
    50: '#7289ad',
    500: '#305c8b',
    950: '#000000',
  },
}
SCSS
$custom: #305c8b;
$custom-light: #7289ad;
$custom-dark: #000000;
JSON
{
  "hex": "#305c8b",
  "rgb": {
    "r": 48,
    "g": 92,
    "b": 139
  },
  "hsl": {
    "h": 210.989,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46597,
    "c": 0.09113,
    "h": 251.7
  },
  "luminance": 0.10147
}

Semantic roles & 50–950 ramp

primary
#305C8B
secondary
#B38D64
accent
#9650D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #305C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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