#308EA8#308EA8

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

Color values

HEX#308EA8
RGBrgb(48, 142, 168)
HSLhsl(193, 56%, 42%)
HSVhsv(193, 71%, 66%)
CMYKcmyk(71.4%, 15.5%, 0%, 34.1%)
CIE-LABlab(54.87, -18.55, -21.64)
CIE-LCHlch(54.87, 28.51, 229.40°)
OKLaboklab(60.34% -0.0718 -0.0604)
OKLCHoklch(60.34% 0.094 220.1)
XYZxyz(17.9569, 22.7995, 40.4926)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308EA8 #A84A30
analogous
#30A886 #308EA8 #3052A8
triadic
#308EA8 #A8308E #8EA830
tetradic
#308EA8 #8630A8 #A84A30 #52A830
square
#308EA8 #8630A8 #A84A30 #52A830
split-complementary
#308EA8 #A83052 #A88630
monochromatic
#153E49 #226678 #308EA8 #4AAFCB #7AC4D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308EA8#FFFFFF#000000##000000
##308EA81.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)
#7E8AA9
Deuteranopia (green-blind)
#6D7EA8
Tritanopia (blue-blind)
#009796
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #308ea8;
/* rgb */ color: rgb(48, 142, 168);
/* oklch */ color: oklch(60.3% 0.094 220.1);
Tailwind
colors: {
  custom: {
    50: '#79afc2',
    500: '#308ea8',
    950: '#000000',
  },
}
SCSS
$custom: #308ea8;
$custom-light: #79afc2;
$custom-dark: #000000;
JSON
{
  "hex": "#308ea8",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 168
  },
  "hsl": {
    "h": 193,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.60341,
    "c": 0.09388,
    "h": 220.1
  },
  "luminance": 0.22802
}

Semantic roles & 50–950 ramp

primary
#308EA8
secondary
#C18473
accent
#6949DF
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #308EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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