#308BB1#308BB1

#308BB1 is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.0% C 0.101 H 229.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#308BB1
RGBrgb(48, 139, 177)
HSLhsl(198, 57%, 44%)
HSVhsv(198, 73%, 69%)
CMYKcmyk(72.9%, 21.5%, 0%, 30.6%)
CIE-LABlab(54.31, -13.89, -27.66)
CIE-LCHlch(54.31, 30.95, 243.34°)
OKLaboklab(60.01% -0.0653 -0.0776)
OKLCHoklch(60.01% 0.101 229.9)
XYZxyz(18.3842, 22.2658, 44.9153)
Luminance0.2227 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308BB1 #B15630
analogous
#30B197 #308BB1 #304BB1
triadic
#308BB1 #B1308B #8BB130
tetradic
#308BB1 #9730B1 #B15630 #4BB130
square
#308BB1 #9730B1 #B15630 #4BB130
split-complementary
#308BB1 #B1304B #B19730
monochromatic
#163F51 #236581 #308BB1 #4FA9CF #7FC1DC

Accessibility & contrast

On white

3.85
#308BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#308BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308BB1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308BB1#FFFFFF#000000##000000
##308BB11.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7889B3
Deuteranopia (green-blind)
#667CB0
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #308bb1;
/* rgb */ color: rgb(48, 139, 177);
/* oklch */ color: oklch(60.0% 0.101 229.9);
Tailwind
colors: {
  custom: {
    50: '#7aadc8',
    500: '#308bb1',
    950: '#000000',
  },
}
SCSS
$custom: #308bb1;
$custom-light: #7aadc8;
$custom-dark: #000000;
JSON
{
  "hex": "#308bb1",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 177
  },
  "hsl": {
    "h": 197.674,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.60015,
    "c": 0.10148,
    "h": 229.9
  },
  "luminance": 0.22268
}

Semantic roles & 50–950 ramp

primary
#308BB1
secondary
#C58E78
accent
#7447E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #308BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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