#308EB2#308EB2

#308EB2 is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 60.8% C 0.101 H 227.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#308EB2
RGBrgb(48, 142, 178)
HSLhsl(197, 58%, 44%)
HSVhsv(197, 73%, 70%)
CMYKcmyk(73%, 20.2%, 0%, 30.2%)
CIE-LABlab(55.26, -15.21, -26.75)
CIE-LCHlch(55.26, 30.77, 240.39°)
OKLaboklab(60.79% -0.068 -0.075)
OKLCHoklch(60.79% 0.101 227.8)
XYZxyz(18.9245, 23.1865, 45.5889)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308EB2 #B25430
analogous
#30B295 #308EB2 #304DB2
triadic
#308EB2 #B2308E #8EB230
tetradic
#308EB2 #9530B2 #B25430 #4DB230
square
#308EB2 #9530B2 #B25430 #4DB230
split-complementary
#308EB2 #B2304D #B29530
monochromatic
#164152 #236882 #308EB2 #50ACD0 #80C3DD

Accessibility & contrast

On white

3.72
#308EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#308EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308EB2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308EB2#FFFFFF#000000##000000
##308EB21.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8CB4
Deuteranopia (green-blind)
#697FB2
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #308eb2;
/* rgb */ color: rgb(48, 142, 178);
/* oklch */ color: oklch(60.8% 0.101 227.8);
Tailwind
colors: {
  custom: {
    50: '#7aafc9',
    500: '#308eb2',
    950: '#000000',
  },
}
SCSS
$custom: #308eb2;
$custom-light: #7aafc9;
$custom-dark: #000000;
JSON
{
  "hex": "#308eb2",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 178
  },
  "hsl": {
    "h": 196.615,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.60793,
    "c": 0.10125,
    "h": 227.8
  },
  "luminance": 0.23189
}

Semantic roles & 50–950 ramp

primary
#308EB2
secondary
#C68E78
accent
#7247E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #308EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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