#308AAA#308AAA

#308AAA is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 59.4% C 0.096 H 225.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#308AAA
RGBrgb(48, 138, 170)
HSLhsl(196, 56%, 43%)
HSVhsv(196, 72%, 67%)
CMYKcmyk(71.8%, 18.8%, 0%, 33.3%)
CIE-LABlab(53.71, -15.71, -24.56)
CIE-LCHlch(53.71, 29.16, 237.39°)
OKLaboklab(59.44% -0.0669 -0.0688)
OKLCHoklch(59.44% 0.096 225.8)
XYZxyz(17.5601, 21.7056, 41.2865)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308AAA #AA5030
analogous
#30AA8D #308AAA #304DAA
triadic
#308AAA #AA308A #8AAA30
tetradic
#308AAA #8D30AA #AA5030 #4DAA30
square
#308AAA #8D30AA #AA5030 #4DAA30
split-complementary
#308AAA #AA304D #AA8D30
monochromatic
#153D4B #23637A #308AAA #4BAACC #7BC1DA

Accessibility & contrast

On white

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

On black

5.34
#308AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308AAA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308AAA#FFFFFF#000000##000000
##308AAA1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7987AC
Deuteranopia (green-blind)
#687BAA
Tritanopia (blue-blind)
#009394
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #308aaa;
/* rgb */ color: rgb(48, 138, 170);
/* oklch */ color: oklch(59.4% 0.096 225.8);
Tailwind
colors: {
  custom: {
    50: '#79acc3',
    500: '#308aaa',
    950: '#000000',
  },
}
SCSS
$custom: #308aaa;
$custom-light: #79acc3;
$custom-dark: #000000;
JSON
{
  "hex": "#308aaa",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 195.738,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.59444,
    "c": 0.09598,
    "h": 225.8
  },
  "luminance": 0.21708
}

Semantic roles & 50–950 ramp

primary
#308AAA
secondary
#C28874
accent
#7049DF
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #308AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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