#308BAB#308BAB

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

Color values

HEX#308BAB
RGBrgb(48, 139, 171)
HSLhsl(196, 56%, 43%)
HSVhsv(196, 72%, 67%)
CMYKcmyk(71.9%, 18.7%, 0%, 32.9%)
CIE-LABlab(54.06, -15.93, -24.60)
CIE-LCHlch(54.06, 29.31, 237.08°)
OKLaboklab(59.74% -0.0676 -0.0689)
OKLCHoklch(59.74% 0.097 225.5)
XYZxyz(17.7992, 22.0319, 41.8347)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308BAB #AB5030
analogous
#30AB8D #308BAB #304DAB
triadic
#308BAB #AB308B #8BAB30
tetradic
#308BAB #8D30AB #AB5030 #4DAB30
square
#308BAB #8D30AB #AB5030 #4DAB30
split-complementary
#308BAB #AB304D #AB8D30
monochromatic
#153D4B #23647B #308BAB #4CABCD #7BC1DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308BAB#FFFFFF#000000##000000
##308BAB1.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)
#7988AD
Deuteranopia (green-blind)
#697CAB
Tritanopia (blue-blind)
#009495
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #308bab;
/* rgb */ color: rgb(48, 139, 171);
/* oklch */ color: oklch(59.7% 0.097 225.5);
Tailwind
colors: {
  custom: {
    50: '#79adc4',
    500: '#308bab',
    950: '#000000',
  },
}
SCSS
$custom: #308bab;
$custom-light: #79adc4;
$custom-dark: #000000;
JSON
{
  "hex": "#308bab",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 171
  },
  "hsl": {
    "h": 195.61,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.59736,
    "c": 0.0965,
    "h": 225.5
  },
  "luminance": 0.22034
}

Semantic roles & 50–950 ramp

primary
#308BAB
secondary
#C38974
accent
#7048DF
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #308BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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