#308FB3#308FB3

#308FB3 is a mid, moderate cyan. Relative luminance 0.235; OKLCH L 61.1% C 0.102 H 227.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#308FB3
RGBrgb(48, 143, 179)
HSLhsl(196, 58%, 45%)
HSVhsv(196, 73%, 70%)
CMYKcmyk(73.2%, 20.1%, 0%, 29.8%)
CIE-LABlab(55.61, -15.42, -26.79)
CIE-LCHlch(55.61, 30.91, 240.08°)
OKLaboklab(61.08% -0.0686 -0.0751)
OKLCHoklch(61.08% 0.102 227.6)
XYZxyz(19.1748, 23.5257, 46.1694)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308FB3 #B35430
analogous
#30B396 #308FB3 #304DB3
triadic
#308FB3 #B3308F #8FB330
tetradic
#308FB3 #9630B3 #B35430 #4DB330
square
#308FB3 #9630B3 #B35430 #4DB330
split-complementary
#308FB3 #B3304D #B39630
monochromatic
#164252 #236883 #308FB3 #50ADD0 #80C4DD

Accessibility & contrast

On white

3.68
#308FB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#308FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308FB3
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308FB3#FFFFFF#000000##000000
##308FB31.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8CB5
Deuteranopia (green-blind)
#6A80B3
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #308fb3;
/* rgb */ color: rgb(48, 143, 179);
/* oklch */ color: oklch(61.1% 0.102 227.6);
Tailwind
colors: {
  custom: {
    50: '#7aafca',
    500: '#308fb3',
    950: '#000000',
  },
}
SCSS
$custom: #308fb3;
$custom-light: #7aafca;
$custom-dark: #000000;
JSON
{
  "hex": "#308fb3",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 179
  },
  "hsl": {
    "h": 196.489,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.61083,
    "c": 0.10174,
    "h": 227.6
  },
  "luminance": 0.23528
}

Semantic roles & 50–950 ramp

primary
#308FB3
secondary
#C68E79
accent
#7147E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #308FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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