#308BB2#308BB2

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

Color values

HEX#308BB2
RGBrgb(48, 139, 178)
HSLhsl(198, 58%, 44%)
HSVhsv(198, 73%, 70%)
CMYKcmyk(73%, 21.9%, 0%, 30.2%)
CIE-LABlab(54.35, -13.55, -28.17)
CIE-LCHlch(54.35, 31.26, 244.31°)
OKLaboklab(60.06% -0.065 -0.0791)
OKLCHoklch(60.06% 0.102 230.6)
XYZxyz(18.4842, 22.3058, 45.4421)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308BB2 #B25730
analogous
#30B298 #308BB2 #304AB2
triadic
#308BB2 #B2308B #8BB230
tetradic
#308BB2 #9830B2 #B25730 #4AB230
square
#308BB2 #9830B2 #B25730 #4AB230
split-complementary
#308BB2 #B2304A #B29830
monochromatic
#164052 #236582 #308BB2 #50A9D0 #80C1DD

Accessibility & contrast

On white

3.85
#308BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#308BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308BB2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308BB2#FFFFFF#000000##000000
##308BB21.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7789B4
Deuteranopia (green-blind)
#667CB1
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #308bb2;
/* rgb */ color: rgb(48, 139, 178);
/* oklch */ color: oklch(60.1% 0.102 230.6);
Tailwind
colors: {
  custom: {
    50: '#7aacc9',
    500: '#308bb2',
    950: '#000000',
  },
}
SCSS
$custom: #308bb2;
$custom-light: #7aacc9;
$custom-dark: #000000;
JSON
{
  "hex": "#308bb2",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 178
  },
  "hsl": {
    "h": 198,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.60062,
    "c": 0.10236,
    "h": 230.6
  },
  "luminance": 0.22308
}

Semantic roles & 50–950 ramp

primary
#308BB2
secondary
#C68F78
accent
#7547E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #308BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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