#308799#308799

#308799 is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.0% C 0.085 H 214.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#308799
RGBrgb(48, 135, 153)
HSLhsl(190, 52%, 39%)
HSVhsv(190, 69%, 60%)
CMYKcmyk(68.6%, 11.8%, 0%, 40%)
CIE-LABlab(52.12, -19.70, -17.18)
CIE-LCHlch(52.12, 26.14, 221.09°)
OKLaboklab(57.95% -0.0706 -0.0478)
OKLCHoklch(57.95% 0.085 214.1)
XYZxyz(15.6303, 20.2545, 33.2166)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308799 #994230
analogous
#309977 #308799 #305299
triadic
#308799 #993087 #879930
tetradic
#308799 #773099 #994230 #529930
square
#308799 #773099 #994230 #529930
split-complementary
#308799 #993052 #997730
monochromatic
#13353C #215E6A #308799 #42AEC4 #71C2D2

Accessibility & contrast

On white

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

On black

5.05
#308799 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308799
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308799#FFFFFF#000000##000000
##3087991.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A839A
Deuteranopia (green-blind)
#6B7899
Tritanopia (blue-blind)
#008E8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308799;
/* rgb */ color: rgb(48, 135, 153);
/* oklch */ color: oklch(58.0% 0.085 214.1);
Tailwind
colors: {
  custom: {
    50: '#76aab7',
    500: '#308799',
    950: '#000000',
  },
}
SCSS
$custom: #308799;
$custom-light: #76aab7;
$custom-dark: #000000;
JSON
{
  "hex": "#308799",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 153
  },
  "hsl": {
    "h": 190.286,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.57951,
    "c": 0.08528,
    "h": 214.1
  },
  "luminance": 0.20256
}

Semantic roles & 50–950 ramp

primary
#308799
secondary
#BA786B
accent
#654CDC
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #308799

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

Preview Lab → · Contrast checker → · Palette generator →

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