#308FB1#308FB1

#308FB1 is a mid, moderate cyan. Relative luminance 0.234; OKLCH L 61.0% C 0.100 H 226.2°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#308FB1
RGBrgb(48, 143, 177)
HSLhsl(196, 57%, 44%)
HSVhsv(196, 73%, 69%)
CMYKcmyk(72.9%, 19.2%, 0%, 30.6%)
CIE-LABlab(55.53, -16.09, -25.77)
CIE-LCHlch(55.53, 30.38, 238.02°)
OKLaboklab(60.99% -0.0694 -0.0722)
OKLCHoklch(60.99% 0.1 226.2)
XYZxyz(18.9740, 23.4454, 45.1119)
Luminance0.2345 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308FB1 #B15230
analogous
#30B193 #308FB1 #304FB1
triadic
#308FB1 #B1308F #8FB130
tetradic
#308FB1 #9330B1 #B15230 #4FB130
square
#308FB1 #9330B1 #B15230 #4FB130
split-complementary
#308FB1 #B1304F #B19330
monochromatic
#164151 #236881 #308FB1 #4FADCF #7FC4DC

Accessibility & contrast

On white

3.69
#308FB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#308FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308FB1
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308FB1#FFFFFF#000000##000000
##308FB11.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8CB3
Deuteranopia (green-blind)
#6B7FB1
Tritanopia (blue-blind)
#00999A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #308fb1;
/* rgb */ color: rgb(48, 143, 177);
/* oklch */ color: oklch(61.0% 0.100 226.2);
Tailwind
colors: {
  custom: {
    50: '#7aafc8',
    500: '#308fb1',
    950: '#000000',
  },
}
SCSS
$custom: #308fb1;
$custom-light: #7aafc8;
$custom-dark: #000000;
JSON
{
  "hex": "#308fb1",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 177
  },
  "hsl": {
    "h": 195.814,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.6099,
    "c": 0.10013,
    "h": 226.2
  },
  "luminance": 0.23448
}

Semantic roles & 50–950 ramp

primary
#308FB1
secondary
#C58C78
accent
#7047E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #308FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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