#308BB5#308BB5

#308BB5 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.2% C 0.105 H 232.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#308BB5
RGBrgb(48, 139, 181)
HSLhsl(199, 58%, 45%)
HSVhsv(199, 73%, 71%)
CMYKcmyk(73.5%, 23.2%, 0%, 29%)
CIE-LABlab(54.48, -12.52, -29.69)
CIE-LCHlch(54.48, 32.22, 247.14°)
OKLaboklab(60.21% -0.0639 -0.0835)
OKLCHoklch(60.21% 0.105 232.6)
XYZxyz(18.7887, 22.4276, 47.0458)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308BB5 #B55A30
analogous
#30B59C #308BB5 #3049B5
triadic
#308BB5 #B5308B #8BB530
tetradic
#308BB5 #9C30B5 #B55A30 #49B530
square
#308BB5 #9C30B5 #B55A30 #49B530
split-complementary
#308BB5 #B53049 #B59C30
monochromatic
#164154 #236685 #308BB5 #51A9D1 #82C1DE

Accessibility & contrast

On white

3.83
#308BB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#308BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308BB5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308BB5#FFFFFF#000000##000000
##308BB51.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#768AB7
Deuteranopia (green-blind)
#647DB4
Tritanopia (blue-blind)
#009699
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #308bb5;
/* rgb */ color: rgb(48, 139, 181);
/* oklch */ color: oklch(60.2% 0.105 232.6);
Tailwind
colors: {
  custom: {
    50: '#7aaccb',
    500: '#308bb5',
    950: '#000000',
  },
}
SCSS
$custom: #308bb5;
$custom-light: #7aaccb;
$custom-dark: #000000;
JSON
{
  "hex": "#308bb5",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 181
  },
  "hsl": {
    "h": 198.947,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.60207,
    "c": 0.10512,
    "h": 232.6
  },
  "luminance": 0.2243
}

Semantic roles & 50–950 ramp

primary
#308BB5
secondary
#C7927A
accent
#7746E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #308BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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