#308794#308794

#308794 is a mid, moderate teal. Relative luminance 0.201; OKLCH L 57.7% C 0.083 H 209.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#308794
RGBrgb(48, 135, 148)
HSLhsl(188, 51%, 38%)
HSVhsv(188, 68%, 58%)
CMYKcmyk(67.6%, 8.8%, 0%, 42%)
CIE-LABlab(51.94, -21.30, -14.55)
CIE-LCHlch(51.94, 25.80, 214.34°)
OKLaboklab(57.74% -0.0728 -0.0404)
OKLCHoklch(57.74% 0.083 209)
XYZxyz(15.2259, 20.0928, 31.0871)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308794 #943D30
analogous
#30946F #308794 #305594
triadic
#308794 #943087 #879430
tetradic
#308794 #6F3094 #943D30 #559430
square
#308794 #6F3094 #943D30 #559430
split-complementary
#308794 #943055 #946F30
monochromatic
#123338 #215D66 #308794 #40B0C1 #6EC3D0

Accessibility & contrast

On white

4.18
#308794 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#308794 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308794
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308794#FFFFFF#000000##000000
##3087941.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8295
Deuteranopia (green-blind)
#6D7794
Tritanopia (blue-blind)
#008D8B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308794;
/* rgb */ color: rgb(48, 135, 148);
/* oklch */ color: oklch(57.7% 0.083 209.0);
Tailwind
colors: {
  custom: {
    50: '#76aab3',
    500: '#308794',
    950: '#000000',
  },
}
SCSS
$custom: #308794;
$custom-light: #76aab3;
$custom-dark: #000000;
JSON
{
  "hex": "#308794",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 148
  },
  "hsl": {
    "h": 187.8,
    "s": 51.02,
    "l": 38.431
  },
  "oklch": {
    "l": 0.57744,
    "c": 0.08323,
    "h": 209
  },
  "luminance": 0.20094
}

Semantic roles & 50–950 ramp

primary
#308794
secondary
#B87368
accent
#604DDA
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #308794

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

Preview Lab → · Contrast checker → · Palette generator →

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