#308EB8#308EB8

#308EB8 is a mid, moderate cyan. Relative luminance 0.234; OKLCH L 61.1% C 0.106 H 231.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#308EB8
RGBrgb(48, 142, 184)
HSLhsl(199, 59%, 45%)
HSVhsv(199, 74%, 72%)
CMYKcmyk(73.9%, 22.8%, 0%, 27.8%)
CIE-LABlab(55.52, -13.16, -29.79)
CIE-LCHlch(55.52, 32.56, 246.17°)
OKLaboklab(61.08% -0.0658 -0.0837)
OKLCHoklch(61.08% 0.106 231.9)
XYZxyz(19.5402, 23.4328, 48.8313)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308EB8 #B85A30
analogous
#30B89E #308EB8 #304AB8
triadic
#308EB8 #B8308E #8EB830
tetradic
#308EB8 #9E30B8 #B85A30 #4AB830
square
#308EB8 #9E30B8 #B85A30 #4AB830
split-complementary
#308EB8 #B8304A #B89E30
monochromatic
#174357 #236987 #308EB8 #53ABD2 #84C3DF

Accessibility & contrast

On white

3.69
#308EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#308EB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308EB8
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308EB8#FFFFFF#000000##000000
##308EB81.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#798CBA
Deuteranopia (green-blind)
#677FB7
Tritanopia (blue-blind)
#00999C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #308eb8;
/* rgb */ color: rgb(48, 142, 184);
/* oklch */ color: oklch(61.1% 0.106 231.9);
Tailwind
colors: {
  custom: {
    50: '#7bafcd',
    500: '#308eb8',
    950: '#000000',
  },
}
SCSS
$custom: #308eb8;
$custom-light: #7bafcd;
$custom-dark: #000000;
JSON
{
  "hex": "#308eb8",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 184
  },
  "hsl": {
    "h": 198.529,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.61076,
    "c": 0.10649,
    "h": 231.9
  },
  "luminance": 0.23435
}

Semantic roles & 50–950 ramp

primary
#308EB8
secondary
#C8937C
accent
#7646E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #308EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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