#308AB2#308AB2

#308AB2 is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 59.8% C 0.103 H 231.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#308AB2
RGBrgb(48, 138, 178)
HSLhsl(198, 58%, 44%)
HSVhsv(198, 73%, 70%)
CMYKcmyk(73%, 22.5%, 0%, 30.2%)
CIE-LABlab(54.05, -12.99, -28.64)
CIE-LCHlch(54.05, 31.45, 245.60°)
OKLaboklab(59.82% -0.064 -0.0805)
OKLCHoklch(59.82% 0.103 231.5)
XYZxyz(18.3401, 22.0176, 45.3941)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308AB2 #B25830
analogous
#30B299 #308AB2 #3049B2
triadic
#308AB2 #B2308A #8AB230
tetradic
#308AB2 #9930B2 #B25830 #49B230
square
#308AB2 #9930B2 #B25830 #49B230
split-complementary
#308AB2 #B23049 #B29930
monochromatic
#163F52 #236582 #308AB2 #50A8D0 #80C0DD

Accessibility & contrast

On white

3.89
#308AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#308AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308AB2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308AB2#FFFFFF#000000##000000
##308AB21.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7688B4
Deuteranopia (green-blind)
#647CB1
Tritanopia (blue-blind)
#009597
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #308ab2;
/* rgb */ color: rgb(48, 138, 178);
/* oklch */ color: oklch(59.8% 0.103 231.5);
Tailwind
colors: {
  custom: {
    50: '#7aacc9',
    500: '#308ab2',
    950: '#000000',
  },
}
SCSS
$custom: #308ab2;
$custom-light: #7aacc9;
$custom-dark: #000000;
JSON
{
  "hex": "#308ab2",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 178
  },
  "hsl": {
    "h": 198.462,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5982,
    "c": 0.1028,
    "h": 231.5
  },
  "luminance": 0.2202
}

Semantic roles & 50–950 ramp

primary
#308AB2
secondary
#C69078
accent
#7647E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #308AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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