#305B8F#305B8F

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

Color values

HEX#305B8F
RGBrgb(48, 91, 143)
HSLhsl(213, 50%, 37%)
HSVhsv(213, 66%, 56%)
CMYKcmyk(66.4%, 36.4%, 0%, 43.9%)
CIE-LABlab(38.01, 2.59, -33.16)
CIE-LCHlch(38.01, 33.26, 274.46°)
OKLaboklab(46.59% -0.0263 -0.0941)
OKLCHoklch(46.59% 0.098 254.4)
XYZxyz(9.9161, 10.0927, 27.4068)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305B8F #8F6430
analogous
#308B8F #305B8F #35308F
triadic
#305B8F #8F305B #5B8F30
tetradic
#305B8F #8F308B #8F6430 #308F35
square
#305B8F #8F308B #8F6430 #308F35
split-complementary
#305B8F #8F3530 #8B8F30
monochromatic
#112133 #213E61 #305B8F #3F78BD #6C98CE

Accessibility & contrast

On white

6.96
#305B8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#305B8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305B8F
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305B8F#FFFFFF#000000##FFFFFF
##305B8F1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445E91
Deuteranopia (green-blind)
#37558E
Tritanopia (blue-blind)
#00676E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #305b8f;
/* rgb */ color: rgb(48, 91, 143);
/* oklch */ color: oklch(46.6% 0.098 254.4);
Tailwind
colors: {
  custom: {
    50: '#7289b0',
    500: '#305b8f',
    950: '#000000',
  },
}
SCSS
$custom: #305b8f;
$custom-light: #7289b0;
$custom-dark: #000000;
JSON
{
  "hex": "#305b8f",
  "rgb": {
    "r": 48,
    "g": 91,
    "b": 143
  },
  "hsl": {
    "h": 212.842,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46592,
    "c": 0.09767,
    "h": 254.4
  },
  "luminance": 0.10094
}

Semantic roles & 50–950 ramp

primary
#305B8F
secondary
#B59166
accent
#9A4FD9
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #305B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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