#305A86#305A86

#305A86 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 45.8% C 0.086 H 251.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#305A86
RGBrgb(48, 90, 134)
HSLhsl(211, 47%, 36%)
HSVhsv(211, 64%, 53%)
CMYKcmyk(64.2%, 32.8%, 0%, 47.5%)
CIE-LABlab(37.23, -0.05, -28.93)
CIE-LCHlch(37.23, 28.93, 269.90°)
OKLaboklab(45.83% -0.0278 -0.0817)
OKLCHoklch(45.83% 0.086 251.2)
XYZxyz(9.1766, 9.6611, 23.9308)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305A86 #865C30
analogous
#308586 #305A86 #313086
triadic
#305A86 #86305A #5A8630
tetradic
#305A86 #863085 #865C30 #308631
square
#305A86 #863085 #865C30 #308631
split-complementary
#305A86 #863130 #858630
monochromatic
#101D2C #203C59 #305A86 #4078B3 #6897C9

Accessibility & contrast

On white

7.16
#305A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#305A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305A86
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305A86#FFFFFF#000000##FFFFFF
##305A861.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475C88
Deuteranopia (green-blind)
#3C5485
Tritanopia (blue-blind)
#00646A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #305a86;
/* rgb */ color: rgb(48, 90, 134);
/* oklch */ color: oklch(45.8% 0.086 251.2);
Tailwind
colors: {
  custom: {
    50: '#7188a9',
    500: '#305a86',
    950: '#000000',
  },
}
SCSS
$custom: #305a86;
$custom-light: #7188a9;
$custom-dark: #000000;
JSON
{
  "hex": "#305a86",
  "rgb": {
    "r": 48,
    "g": 90,
    "b": 134
  },
  "hsl": {
    "h": 210.698,
    "s": 47.253,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45826,
    "c": 0.08632,
    "h": 251.2
  },
  "luminance": 0.09662
}

Semantic roles & 50–950 ramp

primary
#305A86
secondary
#B08A62
accent
#9551D7
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #305A86

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

Preview Lab → · Contrast checker → · Palette generator →

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