#305D8B#305D8B

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

Color values

HEX#305D8B
RGBrgb(48, 93, 139)
HSLhsl(210, 49%, 37%)
HSVhsv(210, 65%, 55%)
CMYKcmyk(65.5%, 33.1%, 0%, 45.5%)
CIE-LABlab(38.41, -0.14, -30.10)
CIE-LCHlch(38.41, 30.10, 269.74°)
OKLaboklab(46.84% -0.0297 -0.0851)
OKLCHoklch(46.84% 0.09 250.8)
XYZxyz(9.7918, 10.3202, 25.8971)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305D8B #8B5E30
analogous
#308B8B #305D8B #31308B
triadic
#305D8B #8B305D #5D8B30
tetradic
#305D8B #8B308B #8B5E30 #308B31
square
#305D8B #8B308B #8B5E30 #308B31
split-complementary
#305D8B #8B3130 #8B8B30
monochromatic
#112030 #203F5E #305D8B #407BB8 #6A9ACC

Accessibility & contrast

On white

6.85
#305D8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#305D8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305D8B
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305D8B#FFFFFF#000000##FFFFFF
##305D8B1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8D
Deuteranopia (green-blind)
#3D568A
Tritanopia (blue-blind)
#00686D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #305d8b;
/* rgb */ color: rgb(48, 93, 139);
/* oklch */ color: oklch(46.8% 0.090 250.8);
Tailwind
colors: {
  custom: {
    50: '#728aad',
    500: '#305d8b',
    950: '#000000',
  },
}
SCSS
$custom: #305d8b;
$custom-light: #728aad;
$custom-dark: #000000;
JSON
{
  "hex": "#305d8b",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 139
  },
  "hsl": {
    "h": 210.33,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46839,
    "c": 0.09015,
    "h": 250.8
  },
  "luminance": 0.10321
}

Semantic roles & 50–950 ramp

primary
#305D8B
secondary
#B38C64
accent
#9550D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #305D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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