#308AAB#308AAB

#308AAB is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 59.5% C 0.097 H 226.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#308AAB
RGBrgb(48, 138, 171)
HSLhsl(196, 56%, 43%)
HSVhsv(196, 72%, 67%)
CMYKcmyk(71.9%, 19.3%, 0%, 32.9%)
CIE-LABlab(53.75, -15.38, -25.08)
CIE-LCHlch(53.75, 29.42, 238.48°)
OKLaboklab(59.49% -0.0666 -0.0702)
OKLCHoklch(59.49% 0.097 226.5)
XYZxyz(17.6551, 21.7436, 41.7866)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308AAB #AB5130
analogous
#30AB8F #308AAB #304CAB
triadic
#308AAB #AB308A #8AAB30
tetradic
#308AAB #8F30AB #AB5130 #4CAB30
square
#308AAB #8F30AB #AB5130 #4CAB30
split-complementary
#308AAB #AB304C #AB8F30
monochromatic
#153D4B #23637B #308AAB #4CAACD #7BC1DA

Accessibility & contrast

On white

3.93
#308AAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#308AAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308AAB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308AAB#FFFFFF#000000##000000
##308AAB1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7887AD
Deuteranopia (green-blind)
#677BAB
Tritanopia (blue-blind)
#009495
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #308aab;
/* rgb */ color: rgb(48, 138, 171);
/* oklch */ color: oklch(59.5% 0.097 226.5);
Tailwind
colors: {
  custom: {
    50: '#79acc4',
    500: '#308aab',
    950: '#000000',
  },
}
SCSS
$custom: #308aab;
$custom-light: #79acc4;
$custom-dark: #000000;
JSON
{
  "hex": "#308aab",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 171
  },
  "hsl": {
    "h": 196.098,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5949,
    "c": 0.09677,
    "h": 226.5
  },
  "luminance": 0.21746
}

Semantic roles & 50–950 ramp

primary
#308AAB
secondary
#C38974
accent
#7148DF
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #308AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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