#308BB3#308BB3

#308BB3 is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.1% C 0.103 H 231.3°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#308BB3
RGBrgb(48, 139, 179)
HSLhsl(198, 58%, 45%)
HSVhsv(198, 73%, 70%)
CMYKcmyk(73.2%, 22.3%, 0%, 29.8%)
CIE-LABlab(54.39, -13.21, -28.68)
CIE-LCHlch(54.39, 31.57, 245.27°)
OKLaboklab(60.11% -0.0646 -0.0806)
OKLCHoklch(60.11% 0.103 231.3)
XYZxyz(18.5850, 22.3461, 45.9728)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308BB3 #B35830
analogous
#30B39A #308BB3 #3049B3
triadic
#308BB3 #B3308B #8BB330
tetradic
#308BB3 #9A30B3 #B35830 #49B330
square
#308BB3 #9A30B3 #B35830 #49B330
split-complementary
#308BB3 #B33049 #B39A30
monochromatic
#164052 #236683 #308BB3 #50A9D0 #80C1DD

Accessibility & contrast

On white

3.84
#308BB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#308BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308BB3
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308BB3#FFFFFF#000000##000000
##308BB31.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7789B5
Deuteranopia (green-blind)
#657CB2
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #308bb3;
/* rgb */ color: rgb(48, 139, 179);
/* oklch */ color: oklch(60.1% 0.103 231.3);
Tailwind
colors: {
  custom: {
    50: '#7aacca',
    500: '#308bb3',
    950: '#000000',
  },
}
SCSS
$custom: #308bb3;
$custom-light: #7aacca;
$custom-dark: #000000;
JSON
{
  "hex": "#308bb3",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 179
  },
  "hsl": {
    "h": 198.321,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.6011,
    "c": 0.10327,
    "h": 231.3
  },
  "luminance": 0.22348
}

Semantic roles & 50–950 ramp

primary
#308BB3
secondary
#C69079
accent
#7647E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #308BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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