#308CAF#308CAF

#308CAF is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.2% C 0.099 H 227.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#308CAF
RGBrgb(48, 140, 175)
HSLhsl(197, 57%, 44%)
HSVhsv(197, 73%, 69%)
CMYKcmyk(72.6%, 20%, 0%, 31.4%)
CIE-LABlab(54.53, -15.12, -26.17)
CIE-LCHlch(54.53, 30.23, 239.98°)
OKLaboklab(60.17% -0.0671 -0.0734)
OKLCHoklch(60.17% 0.099 227.6)
XYZxyz(18.3317, 22.4776, 43.9216)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308CAF #AF5330
analogous
#30AF92 #308CAF #304CAF
triadic
#308CAF #AF308C #8CAF30
tetradic
#308CAF #9230AF #AF5330 #4CAF30
square
#308CAF #9230AF #AF5330 #4CAF30
split-complementary
#308CAF #AF304C #AF9230
monochromatic
#163F4F #23667F #308CAF #4EABCE #7EC2DC

Accessibility & contrast

On white

3.82
#308CAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#308CAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308CAF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308CAF#FFFFFF#000000##000000
##308CAF1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7989B1
Deuteranopia (green-blind)
#687DAF
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #308caf;
/* rgb */ color: rgb(48, 140, 175);
/* oklch */ color: oklch(60.2% 0.099 227.6);
Tailwind
colors: {
  custom: {
    50: '#7aadc7',
    500: '#308caf',
    950: '#000000',
  },
}
SCSS
$custom: #308caf;
$custom-light: #7aadc7;
$custom-dark: #000000;
JSON
{
  "hex": "#308caf",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 175
  },
  "hsl": {
    "h": 196.535,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.60165,
    "c": 0.09941,
    "h": 227.6
  },
  "luminance": 0.2248
}

Semantic roles & 50–950 ramp

primary
#308CAF
secondary
#C48C76
accent
#7248E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #308CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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