#308CB7#308CB7

#308CB7 is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.5% C 0.107 H 233.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#308CB7
RGBrgb(48, 140, 183)
HSLhsl(199, 58%, 45%)
HSVhsv(199, 74%, 72%)
CMYKcmyk(73.8%, 23.5%, 0%, 28.2%)
CIE-LABlab(54.87, -12.39, -30.22)
CIE-LCHlch(54.87, 32.66, 247.71°)
OKLaboklab(60.55% -0.0641 -0.085)
OKLCHoklch(60.55% 0.107 233)
XYZxyz(19.1408, 22.8012, 48.1829)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308CB7 #B75B30
analogous
#30B79E #308CB7 #3048B7
triadic
#308CB7 #B7308C #8CB730
tetradic
#308CB7 #9E30B7 #B75B30 #48B730
square
#308CB7 #9E30B7 #B75B30 #48B730
split-complementary
#308CB7 #B73048 #B79E30
monochromatic
#174256 #236787 #308CB7 #52A9D2 #83C1DE

Accessibility & contrast

On white

3.78
#308CB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#308CB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308CB7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308CB7#FFFFFF#000000##000000
##308CB71.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#778BB9
Deuteranopia (green-blind)
#647EB6
Tritanopia (blue-blind)
#00979A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #308cb7;
/* rgb */ color: rgb(48, 140, 183);
/* oklch */ color: oklch(60.5% 0.107 233.0);
Tailwind
colors: {
  custom: {
    50: '#7badcc',
    500: '#308cb7',
    950: '#000000',
  },
}
SCSS
$custom: #308cb7;
$custom-light: #7badcc;
$custom-dark: #000000;
JSON
{
  "hex": "#308cb7",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 183
  },
  "hsl": {
    "h": 199.111,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.60545,
    "c": 0.10651,
    "h": 233
  },
  "luminance": 0.22803
}

Semantic roles & 50–950 ramp

primary
#308CB7
secondary
#C8947B
accent
#7846E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #308CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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