#308BAC#308BAC

#308BAC is a mid, moderate cyan. Relative luminance 0.221; OKLCH L 59.8% C 0.097 H 226.3°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#308BAC
RGBrgb(48, 139, 172)
HSLhsl(196, 56%, 43%)
HSVhsv(196, 72%, 67%)
CMYKcmyk(72.1%, 19.2%, 0%, 32.5%)
CIE-LABlab(54.10, -15.59, -25.11)
CIE-LCHlch(54.10, 29.56, 238.17°)
OKLaboklab(59.78% -0.0672 -0.0703)
OKLCHoklch(59.78% 0.097 226.3)
XYZxyz(17.8949, 22.0701, 42.3386)
Luminance0.2207 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308BAC #AC5130
analogous
#30AC8F #308BAC #304DAC
triadic
#308BAC #AC308B #8BAC30
tetradic
#308BAC #8F30AC #AC5130 #4DAC30
square
#308BAC #8F30AC #AC5130 #4DAC30
split-complementary
#308BAC #AC304D #AC8F30
monochromatic
#153E4C #23647C #308BAC #4CABCD #7CC1DA

Accessibility & contrast

On white

3.88
#308BAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#308BAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308BAC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308BAC#FFFFFF#000000##000000
##308BAC1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7988AE
Deuteranopia (green-blind)
#687CAC
Tritanopia (blue-blind)
#009596
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #308bac;
/* rgb */ color: rgb(48, 139, 172);
/* oklch */ color: oklch(59.8% 0.097 226.3);
Tailwind
colors: {
  custom: {
    50: '#79adc4',
    500: '#308bac',
    950: '#000000',
  },
}
SCSS
$custom: #308bac;
$custom-light: #79adc4;
$custom-dark: #000000;
JSON
{
  "hex": "#308bac",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 172
  },
  "hsl": {
    "h": 195.968,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.59782,
    "c": 0.09729,
    "h": 226.3
  },
  "luminance": 0.22072
}

Semantic roles & 50–950 ramp

primary
#308BAC
secondary
#C38A75
accent
#7048E0
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #308BAC

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

Preview Lab → · Contrast checker → · Palette generator →

#308BAC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva