#308DB1#308DB1

#308DB1 is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.5% C 0.101 H 228.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#308DB1
RGBrgb(48, 141, 177)
HSLhsl(197, 57%, 44%)
HSVhsv(197, 73%, 69%)
CMYKcmyk(72.9%, 20.3%, 0%, 30.6%)
CIE-LABlab(54.92, -15.00, -26.72)
CIE-LCHlch(54.92, 30.64, 240.70°)
OKLaboklab(60.5% -0.0673 -0.0749)
OKLCHoklch(60.5% 0.101 228.1)
XYZxyz(18.6764, 22.8503, 45.0127)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308DB1 #B15430
analogous
#30B195 #308DB1 #304DB1
triadic
#308DB1 #B1308D #8DB130
tetradic
#308DB1 #9530B1 #B15430 #4DB130
square
#308DB1 #9530B1 #B15430 #4DB130
split-complementary
#308DB1 #B1304D #B19530
monochromatic
#164051 #236781 #308DB1 #4FABCF #7FC2DC

Accessibility & contrast

On white

3.77
#308DB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#308DB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308DB1
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308DB1#FFFFFF#000000##000000
##308DB11.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8BB3
Deuteranopia (green-blind)
#697EB1
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #308db1;
/* rgb */ color: rgb(48, 141, 177);
/* oklch */ color: oklch(60.5% 0.101 228.1);
Tailwind
colors: {
  custom: {
    50: '#7aaec8',
    500: '#308db1',
    950: '#000000',
  },
}
SCSS
$custom: #308db1;
$custom-light: #7aaec8;
$custom-dark: #000000;
JSON
{
  "hex": "#308db1",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 177
  },
  "hsl": {
    "h": 196.744,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.60502,
    "c": 0.10074,
    "h": 228.1
  },
  "luminance": 0.22852
}

Semantic roles & 50–950 ramp

primary
#308DB1
secondary
#C58D78
accent
#7247E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #308DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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