#305D88#305D88

#305D88 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.7% C 0.086 H 249.2°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#305D88
RGBrgb(48, 93, 136)
HSLhsl(209, 48%, 36%)
HSVhsv(209, 65%, 53%)
CMYKcmyk(64.7%, 31.6%, 0%, 46.7%)
CIE-LABlab(38.26, -1.22, -28.52)
CIE-LCHlch(38.26, 28.55, 267.55°)
OKLaboklab(46.67% -0.0306 -0.0805)
OKLCHoklch(46.67% 0.086 249.2)
XYZxyz(9.5756, 10.2337, 24.7585)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305D88 #885B30
analogous
#308887 #305D88 #303188
triadic
#305D88 #88305D #5D8830
tetradic
#305D88 #873088 #885B30 #318830
square
#305D88 #873088 #885B30 #318830
split-complementary
#305D88 #883031 #888730
monochromatic
#101F2E #203E5B #305D88 #407CB5 #699ACA

Accessibility & contrast

On white

6.89
#305D88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #305D88
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305D88#FFFFFF#000000##FFFFFF
##305D881.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5F8A
Deuteranopia (green-blind)
#3F5687
Tritanopia (blue-blind)
#00676C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #305d88;
/* rgb */ color: rgb(48, 93, 136);
/* oklch */ color: oklch(46.7% 0.086 249.2);
Tailwind
colors: {
  custom: {
    50: '#718aab',
    500: '#305d88',
    950: '#000000',
  },
}
SCSS
$custom: #305d88;
$custom-light: #718aab;
$custom-dark: #000000;
JSON
{
  "hex": "#305d88",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 136
  },
  "hsl": {
    "h": 209.318,
    "s": 47.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46669,
    "c": 0.08614,
    "h": 249.2
  },
  "luminance": 0.10235
}

Semantic roles & 50–950 ramp

primary
#305D88
secondary
#B18963
accent
#9250D7
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #305D88

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

Preview Lab → · Contrast checker → · Palette generator →

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