#308DB8#308DB8

#308DB8 is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 60.8% C 0.107 H 232.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#308DB8
RGBrgb(48, 141, 184)
HSLhsl(199, 59%, 45%)
HSVhsv(199, 74%, 72%)
CMYKcmyk(73.9%, 23.4%, 0%, 27.8%)
CIE-LABlab(55.21, -12.60, -30.26)
CIE-LCHlch(55.21, 32.78, 247.39°)
OKLaboklab(60.83% -0.0648 -0.0851)
OKLCHoklch(60.83% 0.107 232.7)
XYZxyz(19.3921, 23.1366, 48.7819)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308DB8 #B85B30
analogous
#30B89F #308DB8 #3049B8
triadic
#308DB8 #B8308D #8DB830
tetradic
#308DB8 #9F30B8 #B85B30 #49B830
square
#308DB8 #9F30B8 #B85B30 #49B830
split-complementary
#308DB8 #B83049 #B89F30
monochromatic
#174357 #236887 #308DB8 #53AAD2 #84C2DF

Accessibility & contrast

On white

3.73
#308DB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#308DB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308DB8
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308DB8#FFFFFF#000000##000000
##308DB81.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#788CBA
Deuteranopia (green-blind)
#657EB7
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #308db8;
/* rgb */ color: rgb(48, 141, 184);
/* oklch */ color: oklch(60.8% 0.107 232.7);
Tailwind
colors: {
  custom: {
    50: '#7baecd',
    500: '#308db8',
    950: '#000000',
  },
}
SCSS
$custom: #308db8;
$custom-light: #7baecd;
$custom-dark: #000000;
JSON
{
  "hex": "#308db8",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 184
  },
  "hsl": {
    "h": 198.971,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.60835,
    "c": 0.10696,
    "h": 232.7
  },
  "luminance": 0.23139
}

Semantic roles & 50–950 ramp

primary
#308DB8
secondary
#C8947C
accent
#7746E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #308DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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