#305A88#305A88

#305A88 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 45.9% C 0.089 H 252.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#305A88
RGBrgb(48, 90, 136)
HSLhsl(211, 48%, 36%)
HSVhsv(211, 65%, 53%)
CMYKcmyk(64.7%, 33.8%, 0%, 46.7%)
CIE-LABlab(37.33, 0.67, -29.98)
CIE-LCHlch(37.33, 29.99, 271.28°)
OKLaboklab(45.94% -0.0272 -0.0848)
OKLCHoklch(45.94% 0.089 252.2)
XYZxyz(9.3174, 9.7174, 24.6724)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305A88 #885E30
analogous
#308688 #305A88 #323088
triadic
#305A88 #88305A #5A8830
tetradic
#305A88 #883086 #885E30 #308832
square
#305A88 #883086 #885E30 #308832
split-complementary
#305A88 #883230 #868830
monochromatic
#101E2E #203C5B #305A88 #4078B5 #6997CA

Accessibility & contrast

On white

7.13
#305A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#305A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305A88
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305A88#FFFFFF#000000##FFFFFF
##305A881.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465C8A
Deuteranopia (green-blind)
#3A5487
Tritanopia (blue-blind)
#00656B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #305a88;
/* rgb */ color: rgb(48, 90, 136);
/* oklch */ color: oklch(45.9% 0.089 252.2);
Tailwind
colors: {
  custom: {
    50: '#7188ab',
    500: '#305a88',
    950: '#000000',
  },
}
SCSS
$custom: #305a88;
$custom-light: #7188ab;
$custom-dark: #000000;
JSON
{
  "hex": "#305a88",
  "rgb": {
    "r": 48,
    "g": 90,
    "b": 136
  },
  "hsl": {
    "h": 211.364,
    "s": 47.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4594,
    "c": 0.08906,
    "h": 252.2
  },
  "luminance": 0.09718
}

Semantic roles & 50–950 ramp

primary
#305A88
secondary
#B18C63
accent
#9750D7
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #305A88

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

Preview Lab → · Contrast checker → · Palette generator →

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