#305D89#305D89

#305D89 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.7% C 0.087 H 249.7°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#305D89
RGBrgb(48, 93, 137)
HSLhsl(210, 48%, 36%)
HSVhsv(210, 65%, 54%)
CMYKcmyk(65%, 32.1%, 0%, 46.3%)
CIE-LABlab(38.31, -0.86, -29.05)
CIE-LCHlch(38.31, 29.06, 268.31°)
OKLaboklab(46.73% -0.0303 -0.0821)
OKLCHoklch(46.73% 0.087 249.7)
XYZxyz(9.6470, 10.2623, 25.1345)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305D89 #895C30
analogous
#308989 #305D89 #303189
triadic
#305D89 #89305D #5D8930
tetradic
#305D89 #893089 #895C30 #318930
square
#305D89 #893089 #895C30 #318930
split-complementary
#305D89 #893031 #898930
monochromatic
#101F2E #203E5C #305D89 #407CB6 #699ACA

Accessibility & contrast

On white

6.88
#305D89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #305D89
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305D89#FFFFFF#000000##FFFFFF
##305D891.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5F8B
Deuteranopia (green-blind)
#3E5688
Tritanopia (blue-blind)
#00676D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #305d89;
/* rgb */ color: rgb(48, 93, 137);
/* oklch */ color: oklch(46.7% 0.087 249.7);
Tailwind
colors: {
  custom: {
    50: '#718aab',
    500: '#305d89',
    950: '#000000',
  },
}
SCSS
$custom: #305d89;
$custom-light: #718aab;
$custom-dark: #000000;
JSON
{
  "hex": "#305d89",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 137
  },
  "hsl": {
    "h": 209.663,
    "s": 48.108,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46725,
    "c": 0.08748,
    "h": 249.7
  },
  "luminance": 0.10263
}

Semantic roles & 50–950 ramp

primary
#305D89
secondary
#B28A63
accent
#9350D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #305D89

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

Preview Lab → · Contrast checker → · Palette generator →

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