#308EB7#308EB7

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

Color values

HEX#308EB7
RGBrgb(48, 142, 183)
HSLhsl(198, 58%, 45%)
HSVhsv(198, 74%, 72%)
CMYKcmyk(73.8%, 22.4%, 0%, 28.2%)
CIE-LABlab(55.47, -13.50, -29.28)
CIE-LCHlch(55.47, 32.25, 245.25°)
OKLaboklab(61.03% -0.0661 -0.0823)
OKLCHoklch(61.03% 0.106 231.2)
XYZxyz(19.4357, 23.3910, 48.2812)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308EB7 #B75930
analogous
#30B79C #308EB7 #304AB7
triadic
#308EB7 #B7308E #8EB730
tetradic
#308EB7 #9C30B7 #B75930 #4AB730
square
#308EB7 #9C30B7 #B75930 #4AB730
split-complementary
#308EB7 #B7304A #B79C30
monochromatic
#174356 #236887 #308EB7 #52ABD2 #83C3DE

Accessibility & contrast

On white

3.70
#308EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#308EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308EB7
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308EB7#FFFFFF#000000##000000
##308EB71.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#798CB9
Deuteranopia (green-blind)
#677FB6
Tritanopia (blue-blind)
#00999C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #308eb7;
/* rgb */ color: rgb(48, 142, 183);
/* oklch */ color: oklch(61.0% 0.106 231.2);
Tailwind
colors: {
  custom: {
    50: '#7bafcc',
    500: '#308eb7',
    950: '#000000',
  },
}
SCSS
$custom: #308eb7;
$custom-light: #7bafcc;
$custom-dark: #000000;
JSON
{
  "hex": "#308eb7",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 183
  },
  "hsl": {
    "h": 198.222,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.61028,
    "c": 0.10558,
    "h": 231.2
  },
  "luminance": 0.23393
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #308EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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