#305D8D#305D8D

#305D8D is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 47.0% C 0.093 H 251.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#305D8D
RGBrgb(48, 93, 141)
HSLhsl(211, 49%, 37%)
HSVhsv(211, 66%, 55%)
CMYKcmyk(66%, 34%, 0%, 44.7%)
CIE-LABlab(38.51, 0.59, -31.15)
CIE-LCHlch(38.51, 31.16, 271.08°)
OKLaboklab(46.95% -0.0291 -0.0882)
OKLCHoklch(46.95% 0.093 251.7)
XYZxyz(9.9392, 10.3792, 26.6737)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305D8D #8D6030
analogous
#308B8D #305D8D #32308D
triadic
#305D8D #8D305D #5D8D30
tetradic
#305D8D #8D308B #8D6030 #308D32
square
#305D8D #8D308B #8D6030 #308D32
split-complementary
#305D8D #8D3230 #8B8D30
monochromatic
#112132 #203F5F #305D8D #407BBB #6B9ACD

Accessibility & contrast

On white

6.83
#305D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#305D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305D8D
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305D8D#FFFFFF#000000##FFFFFF
##305D8D1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48608F
Deuteranopia (green-blind)
#3B578C
Tritanopia (blue-blind)
#00686E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #305d8d;
/* rgb */ color: rgb(48, 93, 141);
/* oklch */ color: oklch(47.0% 0.093 251.7);
Tailwind
colors: {
  custom: {
    50: '#728aae',
    500: '#305d8d',
    950: '#000000',
  },
}
SCSS
$custom: #305d8d;
$custom-light: #728aae;
$custom-dark: #000000;
JSON
{
  "hex": "#305d8d",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 141
  },
  "hsl": {
    "h": 210.968,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46954,
    "c": 0.09284,
    "h": 251.7
  },
  "luminance": 0.1038
}

Semantic roles & 50–950 ramp

primary
#305D8D
secondary
#B48E65
accent
#964FD9
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #305D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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