#308DAB#308DAB

#308DAB is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.2% C 0.096 H 223.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#308DAB
RGBrgb(48, 141, 171)
HSLhsl(195, 56%, 43%)
HSVhsv(195, 72%, 67%)
CMYKcmyk(71.9%, 17.5%, 0%, 32.9%)
CIE-LABlab(54.67, -17.02, -23.66)
CIE-LCHlch(54.67, 29.14, 234.27°)
OKLaboklab(60.23% -0.0696 -0.0662)
OKLCHoklch(60.23% 0.096 223.5)
XYZxyz(18.0915, 22.6163, 41.9321)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308DAB #AB4E30
analogous
#30AB8B #308DAB #3050AB
triadic
#308DAB #AB308D #8DAB30
tetradic
#308DAB #8B30AB #AB4E30 #50AB30
square
#308DAB #8B30AB #AB4E30 #50AB30
split-complementary
#308DAB #AB3050 #AB8B30
monochromatic
#153E4B #23667B #308DAB #4CADCD #7BC3DA

Accessibility & contrast

On white

3.80
#308DAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#308DAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308DAB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308DAB#FFFFFF#000000##000000
##308DAB1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8AAD
Deuteranopia (green-blind)
#6B7DAB
Tritanopia (blue-blind)
#009697
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #308dab;
/* rgb */ color: rgb(48, 141, 171);
/* oklch */ color: oklch(60.2% 0.096 223.5);
Tailwind
colors: {
  custom: {
    50: '#79aec4',
    500: '#308dab',
    950: '#000000',
  },
}
SCSS
$custom: #308dab;
$custom-light: #79aec4;
$custom-dark: #000000;
JSON
{
  "hex": "#308dab",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 171
  },
  "hsl": {
    "h": 194.634,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.60228,
    "c": 0.09606,
    "h": 223.5
  },
  "luminance": 0.22618
}

Semantic roles & 50–950 ramp

primary
#308DAB
secondary
#C38774
accent
#6D48DF
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #308DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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