#308BB4#308BB4

#308BB4 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.2% C 0.104 H 231.9°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#308BB4
RGBrgb(48, 139, 180)
HSLhsl(199, 58%, 45%)
HSVhsv(199, 73%, 71%)
CMYKcmyk(73.3%, 22.8%, 0%, 29.4%)
CIE-LABlab(54.43, -12.86, -29.18)
CIE-LCHlch(54.43, 31.89, 246.21°)
OKLaboklab(60.16% -0.0642 -0.082)
OKLCHoklch(60.16% 0.104 231.9)
XYZxyz(18.6865, 22.3867, 46.5074)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308BB4 #B45930
analogous
#30B49B #308BB4 #3049B4
triadic
#308BB4 #B4308B #8BB430
tetradic
#308BB4 #9B30B4 #B45930 #49B430
square
#308BB4 #9B30B4 #B45930 #49B430
split-complementary
#308BB4 #B43049 #B49B30
monochromatic
#164053 #236684 #308BB4 #51A9D1 #81C1DD

Accessibility & contrast

On white

3.83
#308BB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#308BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308BB4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308BB4#FFFFFF#000000##000000
##308BB41.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7689B6
Deuteranopia (green-blind)
#657DB3
Tritanopia (blue-blind)
#009699
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #308bb4;
/* rgb */ color: rgb(48, 139, 180);
/* oklch */ color: oklch(60.2% 0.104 231.9);
Tailwind
colors: {
  custom: {
    50: '#7aacca',
    500: '#308bb4',
    950: '#000000',
  },
}
SCSS
$custom: #308bb4;
$custom-light: #7aacca;
$custom-dark: #000000;
JSON
{
  "hex": "#308bb4",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 180
  },
  "hsl": {
    "h": 198.636,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.60158,
    "c": 0.10419,
    "h": 231.9
  },
  "luminance": 0.22389
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #308BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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