#308CB1#308CB1

#308CB1 is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.3% C 0.101 H 229.0°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#308CB1
RGBrgb(48, 140, 177)
HSLhsl(197, 57%, 44%)
HSVhsv(197, 73%, 69%)
CMYKcmyk(72.9%, 20.9%, 0%, 30.6%)
CIE-LABlab(54.61, -14.44, -27.19)
CIE-LCHlch(54.61, 30.79, 242.02°)
OKLaboklab(60.26% -0.0663 -0.0763)
OKLCHoklch(60.26% 0.101 229)
XYZxyz(18.5296, 22.5567, 44.9638)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308CB1 #B15530
analogous
#30B196 #308CB1 #304CB1
triadic
#308CB1 #B1308C #8CB130
tetradic
#308CB1 #9630B1 #B15530 #4CB130
square
#308CB1 #9630B1 #B15530 #4CB130
split-complementary
#308CB1 #B1304C #B19630
monochromatic
#164051 #236681 #308CB1 #4FAACF #7FC2DC

Accessibility & contrast

On white

3.81
#308CB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#308CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308CB1
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308CB1#FFFFFF#000000##000000
##308CB11.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#798AB3
Deuteranopia (green-blind)
#677DB0
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #308cb1;
/* rgb */ color: rgb(48, 140, 177);
/* oklch */ color: oklch(60.3% 0.101 229.0);
Tailwind
colors: {
  custom: {
    50: '#7aadc8',
    500: '#308cb1',
    950: '#000000',
  },
}
SCSS
$custom: #308cb1;
$custom-light: #7aadc8;
$custom-dark: #000000;
JSON
{
  "hex": "#308cb1",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 177
  },
  "hsl": {
    "h": 197.209,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.60258,
    "c": 0.1011,
    "h": 229
  },
  "luminance": 0.22559
}

Semantic roles & 50–950 ramp

primary
#308CB1
secondary
#C58E78
accent
#7347E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #308CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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