#308CB2#308CB2

#308CB2 is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.3% C 0.102 H 229.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#308CB2
RGBrgb(48, 140, 178)
HSLhsl(198, 58%, 44%)
HSVhsv(198, 73%, 70%)
CMYKcmyk(73%, 21.3%, 0%, 30.2%)
CIE-LABlab(54.65, -14.10, -27.70)
CIE-LCHlch(54.65, 31.08, 243.01°)
OKLaboklab(60.31% -0.066 -0.0777)
OKLCHoklch(60.31% 0.102 229.7)
XYZxyz(18.6296, 22.5967, 45.4906)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308CB2 #B25630
analogous
#30B297 #308CB2 #304BB2
triadic
#308CB2 #B2308C #8CB230
tetradic
#308CB2 #9730B2 #B25630 #4BB230
square
#308CB2 #9730B2 #B25630 #4BB230
split-complementary
#308CB2 #B2304B #B29730
monochromatic
#164052 #236682 #308CB2 #50AAD0 #80C2DD

Accessibility & contrast

On white

3.80
#308CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#308CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308CB2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308CB2#FFFFFF#000000##000000
##308CB21.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#788AB4
Deuteranopia (green-blind)
#677DB1
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #308cb2;
/* rgb */ color: rgb(48, 140, 178);
/* oklch */ color: oklch(60.3% 0.102 229.7);
Tailwind
colors: {
  custom: {
    50: '#7aadc9',
    500: '#308cb2',
    950: '#000000',
  },
}
SCSS
$custom: #308cb2;
$custom-light: #7aadc9;
$custom-dark: #000000;
JSON
{
  "hex": "#308cb2",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 178
  },
  "hsl": {
    "h": 197.538,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.60306,
    "c": 0.10197,
    "h": 229.7
  },
  "luminance": 0.22599
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #308CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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