#308DB4#308DB4

#308DB4 is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 60.6% C 0.103 H 230.1°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#308DB4
RGBrgb(48, 141, 180)
HSLhsl(198, 58%, 45%)
HSVhsv(198, 73%, 71%)
CMYKcmyk(73.3%, 21.7%, 0%, 29.4%)
CIE-LABlab(55.04, -13.97, -28.24)
CIE-LCHlch(55.04, 31.51, 243.67°)
OKLaboklab(60.64% -0.0662 -0.0793)
OKLCHoklch(60.64% 0.103 230.1)
XYZxyz(18.9787, 22.9712, 46.6048)
Luminance0.2297 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308DB4 #B45730
analogous
#30B499 #308DB4 #304BB4
triadic
#308DB4 #B4308D #8DB430
tetradic
#308DB4 #9930B4 #B45730 #4BB430
square
#308DB4 #9930B4 #B45730 #4BB430
split-complementary
#308DB4 #B4304B #B49930
monochromatic
#164153 #236784 #308DB4 #51ABD1 #81C2DD

Accessibility & contrast

On white

3.75
#308DB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#308DB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308DB4
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308DB4#FFFFFF#000000##000000
##308DB41.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#798BB6
Deuteranopia (green-blind)
#677EB3
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #308db4;
/* rgb */ color: rgb(48, 141, 180);
/* oklch */ color: oklch(60.6% 0.103 230.1);
Tailwind
colors: {
  custom: {
    50: '#7aaeca',
    500: '#308db4',
    950: '#000000',
  },
}
SCSS
$custom: #308db4;
$custom-light: #7aaeca;
$custom-dark: #000000;
JSON
{
  "hex": "#308db4",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 180
  },
  "hsl": {
    "h": 197.727,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.60643,
    "c": 0.10332,
    "h": 230.1
  },
  "luminance": 0.22973
}

Semantic roles & 50–950 ramp

primary
#308DB4
secondary
#C69079
accent
#7447E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #308DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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