#308AB3#308AB3

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

Color values

HEX#308AB3
RGBrgb(48, 138, 179)
HSLhsl(199, 58%, 45%)
HSVhsv(199, 73%, 70%)
CMYKcmyk(73.2%, 22.9%, 0%, 29.8%)
CIE-LABlab(54.09, -12.65, -29.15)
CIE-LCHlch(54.09, 31.77, 246.54°)
OKLaboklab(59.87% -0.0636 -0.0819)
OKLCHoklch(59.87% 0.104 232.2)
XYZxyz(18.4408, 22.0579, 45.9248)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308AB3 #B35930
analogous
#30B39B #308AB3 #3048B3
triadic
#308AB3 #B3308A #8AB330
tetradic
#308AB3 #9B30B3 #B35930 #48B330
square
#308AB3 #9B30B3 #B35930 #48B330
split-complementary
#308AB3 #B33048 #B39B30
monochromatic
#164052 #236583 #308AB3 #50A8D0 #80C0DD

Accessibility & contrast

On white

3.88
#308AB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#308AB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308AB3
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308AB3#FFFFFF#000000##000000
##308AB31.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7688B5
Deuteranopia (green-blind)
#647CB2
Tritanopia (blue-blind)
#009598
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #308ab3;
/* rgb */ color: rgb(48, 138, 179);
/* oklch */ color: oklch(59.9% 0.104 232.2);
Tailwind
colors: {
  custom: {
    50: '#7aacca',
    500: '#308ab3',
    950: '#000000',
  },
}
SCSS
$custom: #308ab3;
$custom-light: #7aacca;
$custom-dark: #000000;
JSON
{
  "hex": "#308ab3",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 179
  },
  "hsl": {
    "h": 198.779,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.59868,
    "c": 0.10373,
    "h": 232.2
  },
  "luminance": 0.2206
}

Semantic roles & 50–950 ramp

primary
#308AB3
secondary
#C69179
accent
#7747E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #308AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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