#308798#308798

#308798 is a mid, moderate teal. Relative luminance 0.202; OKLCH L 57.9% C 0.085 H 213.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#308798
RGBrgb(48, 135, 152)
HSLhsl(190, 52%, 39%)
HSVhsv(190, 68%, 60%)
CMYKcmyk(68.4%, 11.2%, 0%, 40.4%)
CIE-LABlab(52.09, -20.03, -16.66)
CIE-LCHlch(52.09, 26.05, 219.75°)
OKLaboklab(57.91% -0.071 -0.0463)
OKLCHoklch(57.91% 0.085 213.1)
XYZxyz(15.5480, 20.2216, 32.7834)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308798 #984130
analogous
#309875 #308798 #305398
triadic
#308798 #983087 #879830
tetradic
#308798 #753098 #984130 #539830
square
#308798 #753098 #984130 #539830
split-complementary
#308798 #983053 #987530
monochromatic
#13343B #215E69 #308798 #42AEC3 #70C2D2

Accessibility & contrast

On white

4.16
#308798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#308798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308798
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308798#FFFFFF#000000##000000
##3087981.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8299
Deuteranopia (green-blind)
#6B7798
Tritanopia (blue-blind)
#008E8C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308798;
/* rgb */ color: rgb(48, 135, 152);
/* oklch */ color: oklch(57.9% 0.085 213.1);
Tailwind
colors: {
  custom: {
    50: '#76aab6',
    500: '#308798',
    950: '#000000',
  },
}
SCSS
$custom: #308798;
$custom-light: #76aab6;
$custom-dark: #000000;
JSON
{
  "hex": "#308798",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 152
  },
  "hsl": {
    "h": 189.808,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.57909,
    "c": 0.08482,
    "h": 213.1
  },
  "luminance": 0.20223
}

Semantic roles & 50–950 ramp

primary
#308798
secondary
#BA776A
accent
#644CDB
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #308798

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

Preview Lab → · Contrast checker → · Palette generator →

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