#308CB3#308CB3

#308CB3 is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.4% C 0.103 H 230.4°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#308CB3
RGBrgb(48, 140, 179)
HSLhsl(198, 58%, 45%)
HSVhsv(198, 73%, 70%)
CMYKcmyk(73.2%, 21.8%, 0%, 29.8%)
CIE-LABlab(54.70, -13.76, -28.20)
CIE-LCHlch(54.70, 31.38, 243.99°)
OKLaboklab(60.35% -0.0656 -0.0792)
OKLCHoklch(60.35% 0.103 230.4)
XYZxyz(18.7304, 22.6371, 46.0213)
Luminance0.2264 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308CB3 #B35730
analogous
#30B399 #308CB3 #304AB3
triadic
#308CB3 #B3308C #8CB330
tetradic
#308CB3 #9930B3 #B35730 #4AB330
square
#308CB3 #9930B3 #B35730 #4AB330
split-complementary
#308CB3 #B3304A #B39930
monochromatic
#164152 #236683 #308CB3 #50AAD0 #80C1DD

Accessibility & contrast

On white

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

On black

5.53
#308CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308CB3
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308CB3#FFFFFF#000000##000000
##308CB31.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#788AB5
Deuteranopia (green-blind)
#667DB2
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #308cb3;
/* rgb */ color: rgb(48, 140, 179);
/* oklch */ color: oklch(60.4% 0.103 230.4);
Tailwind
colors: {
  custom: {
    50: '#7aadca',
    500: '#308cb3',
    950: '#000000',
  },
}
SCSS
$custom: #308cb3;
$custom-light: #7aadca;
$custom-dark: #000000;
JSON
{
  "hex": "#308cb3",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 179
  },
  "hsl": {
    "h": 197.863,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.60353,
    "c": 0.10285,
    "h": 230.4
  },
  "luminance": 0.22639
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #308CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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