#308EB6#308EB6

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

Color values

HEX#308EB6
RGBrgb(48, 142, 182)
HSLhsl(198, 58%, 45%)
HSVhsv(198, 74%, 71%)
CMYKcmyk(73.6%, 22%, 0%, 28.6%)
CIE-LABlab(55.43, -13.84, -28.78)
CIE-LCHlch(55.43, 31.93, 244.31°)
OKLaboklab(60.98% -0.0665 -0.0808)
OKLCHoklch(60.98% 0.105 230.6)
XYZxyz(19.3320, 23.3495, 47.7349)
Luminance0.2335 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308EB6 #B65830
analogous
#30B69B #308EB6 #304BB6
triadic
#308EB6 #B6308E #8EB630
tetradic
#308EB6 #9B30B6 #B65830 #4BB630
square
#308EB6 #9B30B6 #B65830 #4BB630
split-complementary
#308EB6 #B6304B #B69B30
monochromatic
#164255 #236886 #308EB6 #52ABD1 #82C3DE

Accessibility & contrast

On white

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

On black

5.67
#308EB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308EB6
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308EB6#FFFFFF#000000##000000
##308EB61.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8CB8
Deuteranopia (green-blind)
#677FB5
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #308eb6;
/* rgb */ color: rgb(48, 142, 182);
/* oklch */ color: oklch(61.0% 0.105 230.6);
Tailwind
colors: {
  custom: {
    50: '#7bafcc',
    500: '#308eb6',
    950: '#000000',
  },
}
SCSS
$custom: #308eb6;
$custom-light: #7bafcc;
$custom-dark: #000000;
JSON
{
  "hex": "#308eb6",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 182
  },
  "hsl": {
    "h": 197.91,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.60981,
    "c": 0.10468,
    "h": 230.6
  },
  "luminance": 0.23352
}

Semantic roles & 50–950 ramp

primary
#308EB6
secondary
#C7917B
accent
#7546E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #308EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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