#305E88#305E88

#305E88 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.9% C 0.085 H 248.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#305E88
RGBrgb(48, 94, 136)
HSLhsl(209, 48%, 36%)
HSVhsv(209, 65%, 53%)
CMYKcmyk(64.7%, 30.9%, 0%, 46.7%)
CIE-LABlab(38.57, -1.84, -28.04)
CIE-LCHlch(38.57, 28.10, 266.24°)
OKLaboklab(46.91% -0.0317 -0.0791)
OKLCHoklch(46.91% 0.085 248.1)
XYZxyz(9.6639, 10.4104, 24.7879)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305E88 #885A30
analogous
#308886 #305E88 #303288
triadic
#305E88 #88305E #5E8830
tetradic
#305E88 #863088 #885A30 #328830
square
#305E88 #863088 #885A30 #328830
split-complementary
#305E88 #883032 #888630
monochromatic
#101F2E #203F5B #305E88 #407DB5 #699BCA

Accessibility & contrast

On white

6.81
#305E88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #305E88
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305E88#FFFFFF#000000##FFFFFF
##305E881.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C608A
Deuteranopia (green-blind)
#405787
Tritanopia (blue-blind)
#00686D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #305e88;
/* rgb */ color: rgb(48, 94, 136);
/* oklch */ color: oklch(46.9% 0.085 248.1);
Tailwind
colors: {
  custom: {
    50: '#718bab',
    500: '#305e88',
    950: '#000000',
  },
}
SCSS
$custom: #305e88;
$custom-light: #718bab;
$custom-dark: #000000;
JSON
{
  "hex": "#305e88",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 136
  },
  "hsl": {
    "h": 208.636,
    "s": 47.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46913,
    "c": 0.08523,
    "h": 248.1
  },
  "luminance": 0.10411
}

Semantic roles & 50–950 ramp

primary
#305E88
secondary
#B18863
accent
#9150D7
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #305E88

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

Preview Lab → · Contrast checker → · Palette generator →

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