#308CB4#308CB4

#308CB4 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.4% C 0.104 H 231.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#308CB4
RGBrgb(48, 140, 180)
HSLhsl(198, 58%, 45%)
HSVhsv(198, 73%, 71%)
CMYKcmyk(73.3%, 22.2%, 0%, 29.4%)
CIE-LABlab(54.74, -13.42, -28.71)
CIE-LCHlch(54.74, 31.69, 244.95°)
OKLaboklab(60.4% -0.0652 -0.0807)
OKLCHoklch(60.4% 0.104 231)
XYZxyz(18.8319, 22.6777, 46.5559)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308CB4 #B45830
analogous
#30B49A #308CB4 #304AB4
triadic
#308CB4 #B4308C #8CB430
tetradic
#308CB4 #9A30B4 #B45830 #4AB430
square
#308CB4 #9A30B4 #B45830 #4AB430
split-complementary
#308CB4 #B4304A #B49A30
monochromatic
#164153 #236684 #308CB4 #51AAD1 #81C1DD

Accessibility & contrast

On white

3.79
#308CB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#308CB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308CB4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308CB4#FFFFFF#000000##000000
##308CB41.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#788AB6
Deuteranopia (green-blind)
#667DB3
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #308cb4;
/* rgb */ color: rgb(48, 140, 180);
/* oklch */ color: oklch(60.4% 0.104 231.0);
Tailwind
colors: {
  custom: {
    50: '#7aadca',
    500: '#308cb4',
    950: '#000000',
  },
}
SCSS
$custom: #308cb4;
$custom-light: #7aadca;
$custom-dark: #000000;
JSON
{
  "hex": "#308cb4",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 180
  },
  "hsl": {
    "h": 198.182,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.60401,
    "c": 0.10374,
    "h": 231
  },
  "luminance": 0.2268
}

Semantic roles & 50–950 ramp

primary
#308CB4
secondary
#C69179
accent
#7547E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #308CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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