#308BB8#308BB8

#308BB8 is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.4% C 0.108 H 234.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#308BB8
RGBrgb(48, 139, 184)
HSLhsl(200, 59%, 45%)
HSVhsv(200, 74%, 72%)
CMYKcmyk(73.9%, 24.5%, 0%, 27.8%)
CIE-LABlab(54.61, -11.48, -31.20)
CIE-LCHlch(54.61, 33.24, 249.80°)
OKLaboklab(60.35% -0.0628 -0.0878)
OKLCHoklch(60.35% 0.108 234.4)
XYZxyz(19.0998, 22.5521, 48.6845)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308BB8 #B85D30
analogous
#30B8A1 #308BB8 #3047B8
triadic
#308BB8 #B8308B #8BB830
tetradic
#308BB8 #A130B8 #B85D30 #47B830
square
#308BB8 #A130B8 #B85D30 #47B830
split-complementary
#308BB8 #B83047 #B8A130
monochromatic
#174257 #236687 #308BB8 #53A8D2 #84C1DF

Accessibility & contrast

On white

3.81
#308BB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#308BB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308BB8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308BB8#FFFFFF#000000##000000
##308BB81.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#758ABA
Deuteranopia (green-blind)
#637DB7
Tritanopia (blue-blind)
#00979A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #308bb8;
/* rgb */ color: rgb(48, 139, 184);
/* oklch */ color: oklch(60.4% 0.108 234.4);
Tailwind
colors: {
  custom: {
    50: '#7baccd',
    500: '#308bb8',
    950: '#000000',
  },
}
SCSS
$custom: #308bb8;
$custom-light: #7baccd;
$custom-dark: #000000;
JSON
{
  "hex": "#308bb8",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 184
  },
  "hsl": {
    "h": 199.853,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.60353,
    "c": 0.10799,
    "h": 234.4
  },
  "luminance": 0.22554
}

Semantic roles & 50–950 ramp

primary
#308BB8
secondary
#C8957C
accent
#7A46E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #308BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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