#308DB6#308DB6

#308DB6 is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 60.7% C 0.105 H 231.5°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#308DB6
RGBrgb(48, 141, 182)
HSLhsl(198, 58%, 45%)
HSVhsv(198, 74%, 71%)
CMYKcmyk(73.6%, 22.5%, 0%, 28.6%)
CIE-LABlab(55.13, -13.29, -29.25)
CIE-LCHlch(55.13, 32.13, 245.57°)
OKLaboklab(60.74% -0.0655 -0.0822)
OKLCHoklch(60.74% 0.105 231.5)
XYZxyz(19.1839, 23.0533, 47.6856)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308DB6 #B65930
analogous
#30B69C #308DB6 #304AB6
triadic
#308DB6 #B6308D #8DB630
tetradic
#308DB6 #9C30B6 #B65930 #4AB630
square
#308DB6 #9C30B6 #B65930 #4AB630
split-complementary
#308DB6 #B6304A #B69C30
monochromatic
#164255 #236786 #308DB6 #52AAD1 #82C2DE

Accessibility & contrast

On white

3.74
#308DB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#308DB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308DB6
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308DB6#FFFFFF#000000##000000
##308DB61.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#788BB8
Deuteranopia (green-blind)
#667EB5
Tritanopia (blue-blind)
#00989B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #308db6;
/* rgb */ color: rgb(48, 141, 182);
/* oklch */ color: oklch(60.7% 0.105 231.5);
Tailwind
colors: {
  custom: {
    50: '#7baecc',
    500: '#308db6',
    950: '#000000',
  },
}
SCSS
$custom: #308db6;
$custom-light: #7baecc;
$custom-dark: #000000;
JSON
{
  "hex": "#308db6",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 182
  },
  "hsl": {
    "h": 198.358,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.60739,
    "c": 0.10511,
    "h": 231.5
  },
  "luminance": 0.23056
}

Semantic roles & 50–950 ramp

primary
#308DB6
secondary
#C7927B
accent
#7646E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #308DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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