#308AB4#308AB4

#308AB4 is a mid, moderate cyan. Relative luminance 0.221; OKLCH L 59.9% C 0.105 H 232.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#308AB4
RGBrgb(48, 138, 180)
HSLhsl(199, 58%, 45%)
HSVhsv(199, 73%, 71%)
CMYKcmyk(73.3%, 23.3%, 0%, 29.4%)
CIE-LABlab(54.13, -12.30, -29.65)
CIE-LCHlch(54.13, 32.10, 247.47°)
OKLaboklab(59.92% -0.0632 -0.0834)
OKLCHoklch(59.92% 0.105 232.8)
XYZxyz(18.5423, 22.0985, 46.4594)
Luminance0.2210 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308AB4 #B45A30
analogous
#30B49C #308AB4 #3048B4
triadic
#308AB4 #B4308A #8AB430
tetradic
#308AB4 #9C30B4 #B45A30 #48B430
square
#308AB4 #9C30B4 #B45A30 #48B430
split-complementary
#308AB4 #B43048 #B49C30
monochromatic
#164053 #236584 #308AB4 #51A8D1 #81C0DD

Accessibility & contrast

On white

3.87
#308AB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#308AB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308AB4
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308AB4#FFFFFF#000000##000000
##308AB41.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7589B6
Deuteranopia (green-blind)
#637CB3
Tritanopia (blue-blind)
#009598
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #308ab4;
/* rgb */ color: rgb(48, 138, 180);
/* oklch */ color: oklch(59.9% 0.105 232.8);
Tailwind
colors: {
  custom: {
    50: '#7aacca',
    500: '#308ab4',
    950: '#000000',
  },
}
SCSS
$custom: #308ab4;
$custom-light: #7aacca;
$custom-dark: #000000;
JSON
{
  "hex": "#308ab4",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 180
  },
  "hsl": {
    "h": 199.091,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.59916,
    "c": 0.10466,
    "h": 232.8
  },
  "luminance": 0.22101
}

Semantic roles & 50–950 ramp

primary
#308AB4
secondary
#C69279
accent
#7847E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #308AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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