#308BC2#308BC2

#308BC2 is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 60.9% C 0.118 H 239.8°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#308BC2
RGBrgb(48, 139, 194)
HSLhsl(203, 60%, 47%)
HSVhsv(203, 75%, 76%)
CMYKcmyk(75.3%, 28.4%, 0%, 23.9%)
CIE-LABlab(55.06, -7.97, -36.19)
CIE-LCHlch(55.06, 37.06, 257.57°)
OKLaboklab(60.86% -0.0594 -0.1023)
OKLCHoklch(60.86% 0.118 239.8)
XYZxyz(20.1853, 22.9863, 54.4014)
Luminance0.2299 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308BC2 #C26730
analogous
#30C2B0 #308BC2 #3042C2
triadic
#308BC2 #C2308B #8BC230
tetradic
#308BC2 #B030C2 #C26730 #42C230
square
#308BC2 #B030C2 #C26730 #42C230
split-complementary
#308BC2 #C23042 #C2B030
monochromatic
#184560 #246891 #308BC2 #59A7D6 #8AC1E2

Accessibility & contrast

On white

3.75
#308BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#308BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308BC2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308BC2#FFFFFF#000000##000000
##308BC21.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#718BC4
Deuteranopia (green-blind)
#5D7EC1
Tritanopia (blue-blind)
#00999E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #308bc2;
/* rgb */ color: rgb(48, 139, 194);
/* oklch */ color: oklch(60.9% 0.118 239.8);
Tailwind
colors: {
  custom: {
    50: '#7dacd4',
    500: '#308bc2',
    950: '#000000',
  },
}
SCSS
$custom: #308bc2;
$custom-light: #7dacd4;
$custom-dark: #000000;
JSON
{
  "hex": "#308bc2",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 194
  },
  "hsl": {
    "h": 202.603,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.60859,
    "c": 0.11832,
    "h": 239.8
  },
  "luminance": 0.22989
}

Semantic roles & 50–950 ramp

primary
#308BC2
secondary
#CC9E82
accent
#8044E3
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #308BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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