#308AAC#308AAC

#308AAC is a mid, moderate cyan. Relative luminance 0.218; OKLCH L 59.5% C 0.098 H 227.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#308AAC
RGBrgb(48, 138, 172)
HSLhsl(196, 56%, 43%)
HSVhsv(196, 72%, 67%)
CMYKcmyk(72.1%, 19.8%, 0%, 32.5%)
CIE-LABlab(53.79, -15.04, -25.59)
CIE-LCHlch(53.79, 29.68, 239.55°)
OKLaboklab(59.54% -0.0662 -0.0717)
OKLCHoklch(59.54% 0.098 227.3)
XYZxyz(17.7508, 21.7819, 42.2905)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308AAC #AC5230
analogous
#30AC90 #308AAC #304CAC
triadic
#308AAC #AC308A #8AAC30
tetradic
#308AAC #9030AC #AC5230 #4CAC30
square
#308AAC #9030AC #AC5230 #4CAC30
split-complementary
#308AAC #AC304C #AC9030
monochromatic
#153D4C #23647C #308AAC #4CAACD #7CC1DA

Accessibility & contrast

On white

3.92
#308AAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#308AAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308AAC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308AAC#FFFFFF#000000##000000
##308AAC1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7887AE
Deuteranopia (green-blind)
#677BAC
Tritanopia (blue-blind)
#009495
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #308aac;
/* rgb */ color: rgb(48, 138, 172);
/* oklch */ color: oklch(59.5% 0.098 227.3);
Tailwind
colors: {
  custom: {
    50: '#79acc4',
    500: '#308aac',
    950: '#000000',
  },
}
SCSS
$custom: #308aac;
$custom-light: #79acc4;
$custom-dark: #000000;
JSON
{
  "hex": "#308aac",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 172
  },
  "hsl": {
    "h": 196.452,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.59536,
    "c": 0.09758,
    "h": 227.3
  },
  "luminance": 0.21784
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #308AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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