#308DB7#308DB7

#308DB7 is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 60.8% C 0.106 H 232.1°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#308DB7
RGBrgb(48, 141, 183)
HSLhsl(199, 58%, 45%)
HSVhsv(199, 74%, 72%)
CMYKcmyk(73.8%, 23%, 0%, 28.2%)
CIE-LABlab(55.17, -12.95, -29.75)
CIE-LCHlch(55.17, 32.45, 246.49°)
OKLaboklab(60.79% -0.0651 -0.0837)
OKLCHoklch(60.79% 0.106 232.1)
XYZxyz(19.2876, 23.0948, 48.2318)
Luminance0.2310 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308DB7 #B75A30
analogous
#30B79E #308DB7 #3049B7
triadic
#308DB7 #B7308D #8DB730
tetradic
#308DB7 #9E30B7 #B75A30 #49B730
square
#308DB7 #9E30B7 #B75A30 #49B730
split-complementary
#308DB7 #B73049 #B79E30
monochromatic
#174256 #236887 #308DB7 #52AAD2 #83C2DE

Accessibility & contrast

On white

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

On black

5.62
#308DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308DB7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308DB7#FFFFFF#000000##000000
##308DB71.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #308db7;
/* rgb */ color: rgb(48, 141, 183);
/* oklch */ color: oklch(60.8% 0.106 232.1);
Tailwind
colors: {
  custom: {
    50: '#7baecc',
    500: '#308db7',
    950: '#000000',
  },
}
SCSS
$custom: #308db7;
$custom-light: #7baecc;
$custom-dark: #000000;
JSON
{
  "hex": "#308db7",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 183
  },
  "hsl": {
    "h": 198.667,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.60787,
    "c": 0.10603,
    "h": 232.1
  },
  "luminance": 0.23097
}

Semantic roles & 50–950 ramp

primary
#308DB7
secondary
#C8937B
accent
#7746E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #308DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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