#308DB2#308DB2

#308DB2 is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.5% C 0.102 H 228.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#308DB2
RGBrgb(48, 141, 178)
HSLhsl(197, 58%, 44%)
HSVhsv(197, 73%, 70%)
CMYKcmyk(73%, 20.8%, 0%, 30.2%)
CIE-LABlab(54.96, -14.66, -27.22)
CIE-LCHlch(54.96, 30.92, 241.70°)
OKLaboklab(60.55% -0.067 -0.0764)
OKLCHoklch(60.55% 0.102 228.8)
XYZxyz(18.7764, 22.8903, 45.5395)
Luminance0.2289 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308DB2 #B25530
analogous
#30B296 #308DB2 #304CB2
triadic
#308DB2 #B2308D #8DB230
tetradic
#308DB2 #9630B2 #B25530 #4CB230
square
#308DB2 #9630B2 #B25530 #4CB230
split-complementary
#308DB2 #B2304C #B29630
monochromatic
#164152 #236782 #308DB2 #50ABD0 #80C2DD

Accessibility & contrast

On white

3.76
#308DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#308DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308DB2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308DB2#FFFFFF#000000##000000
##308DB21.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8BB4
Deuteranopia (green-blind)
#687EB2
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #308db2;
/* rgb */ color: rgb(48, 141, 178);
/* oklch */ color: oklch(60.5% 0.102 228.8);
Tailwind
colors: {
  custom: {
    50: '#7aaec9',
    500: '#308db2',
    950: '#000000',
  },
}
SCSS
$custom: #308db2;
$custom-light: #7aaec9;
$custom-dark: #000000;
JSON
{
  "hex": "#308db2",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 178
  },
  "hsl": {
    "h": 197.077,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.60549,
    "c": 0.10159,
    "h": 228.8
  },
  "luminance": 0.22892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #308DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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