#308CA8#308CA8

#308CA8 is a mid, moderate cyan. Relative luminance 0.222; OKLCH L 59.8% C 0.094 H 222.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#308CA8
RGBrgb(48, 140, 168)
HSLhsl(194, 56%, 42%)
HSVhsv(194, 71%, 66%)
CMYKcmyk(71.4%, 16.7%, 0%, 34.1%)
CIE-LABlab(54.25, -17.47, -22.59)
CIE-LCHlch(54.25, 28.56, 232.28°)
OKLaboklab(59.85% -0.0698 -0.0631)
OKLCHoklch(59.85% 0.094 222.1)
XYZxyz(17.6620, 22.2097, 40.3943)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308CA8 #A84C30
analogous
#30A888 #308CA8 #3050A8
triadic
#308CA8 #A8308C #8CA830
tetradic
#308CA8 #8830A8 #A84C30 #50A830
square
#308CA8 #8830A8 #A84C30 #50A830
split-complementary
#308CA8 #A83050 #A88830
monochromatic
#153D49 #226478 #308CA8 #4AADCB #7AC3D9

Accessibility & contrast

On white

3.86
#308CA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#308CA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308CA8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308CA8#FFFFFF#000000##000000
##308CA81.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C89A9
Deuteranopia (green-blind)
#6B7CA8
Tritanopia (blue-blind)
#009595
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #308ca8;
/* rgb */ color: rgb(48, 140, 168);
/* oklch */ color: oklch(59.8% 0.094 222.1);
Tailwind
colors: {
  custom: {
    50: '#79adc2',
    500: '#308ca8',
    950: '#000000',
  },
}
SCSS
$custom: #308ca8;
$custom-light: #79adc2;
$custom-dark: #000000;
JSON
{
  "hex": "#308ca8",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 168
  },
  "hsl": {
    "h": 194,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.59847,
    "c": 0.0941,
    "h": 222.1
  },
  "luminance": 0.22212
}

Semantic roles & 50–950 ramp

primary
#308CA8
secondary
#C18573
accent
#6C49DF
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #308CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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