#308DB3#308DB3

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

Color values

HEX#308DB3
RGBrgb(48, 141, 179)
HSLhsl(197, 58%, 45%)
HSVhsv(197, 73%, 70%)
CMYKcmyk(73.2%, 21.2%, 0%, 29.8%)
CIE-LABlab(55.00, -14.32, -27.73)
CIE-LCHlch(55.00, 31.21, 242.70°)
OKLaboklab(60.6% -0.0666 -0.0778)
OKLCHoklch(60.6% 0.102 229.4)
XYZxyz(18.8772, 22.9306, 46.0702)
Luminance0.2293 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308DB3 #B35630
analogous
#30B398 #308DB3 #304BB3
triadic
#308DB3 #B3308D #8DB330
tetradic
#308DB3 #9830B3 #B35630 #4BB330
square
#308DB3 #9830B3 #B35630 #4BB330
split-complementary
#308DB3 #B3304B #B39830
monochromatic
#164152 #236783 #308DB3 #50ABD0 #80C2DD

Accessibility & contrast

On white

3.76
#308DB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##308DB3#FFFFFF#000000##000000
##308DB31.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#798BB5
Deuteranopia (green-blind)
#687EB2
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #308db3;
/* rgb */ color: rgb(48, 141, 179);
/* oklch */ color: oklch(60.6% 0.102 229.4);
Tailwind
colors: {
  custom: {
    50: '#7aaeca',
    500: '#308db3',
    950: '#000000',
  },
}
SCSS
$custom: #308db3;
$custom-light: #7aaeca;
$custom-dark: #000000;
JSON
{
  "hex": "#308db3",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 179
  },
  "hsl": {
    "h": 197.405,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.60596,
    "c": 0.10244,
    "h": 229.4
  },
  "luminance": 0.22933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #308DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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