#308298#308298

#308298 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 56.7% C 0.084 H 218.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#308298
RGBrgb(48, 130, 152)
HSLhsl(193, 52%, 39%)
HSVhsv(193, 68%, 60%)
CMYKcmyk(68.4%, 14.5%, 0%, 40.4%)
CIE-LABlab(50.52, -17.33, -19.05)
CIE-LCHlch(50.52, 25.75, 227.69°)
OKLaboklab(56.65% -0.0657 -0.0531)
OKLCHoklch(56.65% 0.084 218.9)
XYZxyz(14.8667, 18.8590, 32.5563)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308298 #984630
analogous
#30987A #308298 #304E98
triadic
#308298 #983082 #829830
tetradic
#308298 #7A3098 #984630 #4E9830
square
#308298 #7A3098 #984630 #4E9830
split-complementary
#308298 #98304E #987A30
monochromatic
#13323B #215A69 #308298 #42A8C3 #70BDD2

Accessibility & contrast

On white

4.40
#308298 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#308298 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308298
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308298#FFFFFF#000000##000000
##3082981.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#747E99
Deuteranopia (green-blind)
#657498
Tritanopia (blue-blind)
#008989
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #308298;
/* rgb */ color: rgb(48, 130, 152);
/* oklch */ color: oklch(56.7% 0.084 218.9);
Tailwind
colors: {
  custom: {
    50: '#76a6b6',
    500: '#308298',
    950: '#000000',
  },
}
SCSS
$custom: #308298;
$custom-light: #76a6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#308298",
  "rgb": {
    "r": 48,
    "g": 130,
    "b": 152
  },
  "hsl": {
    "h": 192.692,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.56651,
    "c": 0.08444,
    "h": 218.9
  },
  "luminance": 0.18861
}

Semantic roles & 50–950 ramp

primary
#308298
secondary
#BA7B6A
accent
#6B4CDB
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #308298

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

Preview Lab → · Contrast checker → · Palette generator →

#308298 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva