#308FB7#308FB7

#308FB7 is a mid, moderate cyan. Relative luminance 0.237; OKLCH L 61.3% C 0.105 H 230.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#308FB7
RGBrgb(48, 143, 183)
HSLhsl(198, 58%, 45%)
HSVhsv(198, 74%, 72%)
CMYKcmyk(73.8%, 21.9%, 0%, 28.2%)
CIE-LABlab(55.78, -14.05, -28.81)
CIE-LCHlch(55.78, 32.06, 244.00°)
OKLaboklab(61.27% -0.0671 -0.0809)
OKLCHoklch(61.27% 0.105 230.3)
XYZxyz(19.5852, 23.6899, 48.3310)
Luminance0.2369 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308FB7 #B75830
analogous
#30B79C #308FB7 #304BB7
triadic
#308FB7 #B7308F #8FB730
tetradic
#308FB7 #9C30B7 #B75830 #4BB730
square
#308FB7 #9C30B7 #B75830 #4BB730
split-complementary
#308FB7 #B7304B #B79C30
monochromatic
#174356 #236987 #308FB7 #52ACD2 #83C3DE

Accessibility & contrast

On white

3.66
#308FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#308FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308FB7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308FB7#FFFFFF#000000##000000
##308FB71.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8DB9
Deuteranopia (green-blind)
#6880B6
Tritanopia (blue-blind)
#009A9C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #308fb7;
/* rgb */ color: rgb(48, 143, 183);
/* oklch */ color: oklch(61.3% 0.105 230.3);
Tailwind
colors: {
  custom: {
    50: '#7bafcc',
    500: '#308fb7',
    950: '#000000',
  },
}
SCSS
$custom: #308fb7;
$custom-light: #7bafcc;
$custom-dark: #000000;
JSON
{
  "hex": "#308fb7",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 183
  },
  "hsl": {
    "h": 197.778,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.6127,
    "c": 0.10516,
    "h": 230.3
  },
  "luminance": 0.23692
}

Semantic roles & 50–950 ramp

primary
#308FB7
secondary
#C8927B
accent
#7446E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #308FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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