#308EBB#308EBB

#308EBB is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.2% C 0.109 H 233.7°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#308EBB
RGBrgb(48, 142, 187)
HSLhsl(199, 59%, 46%)
HSVhsv(199, 74%, 73%)
CMYKcmyk(74.3%, 24.1%, 0%, 26.7%)
CIE-LABlab(55.64, -12.12, -31.29)
CIE-LCHlch(55.64, 33.56, 248.82°)
OKLaboklab(61.22% -0.0647 -0.0881)
OKLCHoklch(61.22% 0.109 233.7)
XYZxyz(19.8580, 23.5599, 50.5050)
Luminance0.2356 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308EBB #BB5D30
analogous
#30BBA2 #308EBB #3049BB
triadic
#308EBB #BB308E #8EBB30
tetradic
#308EBB #A230BB #BB5D30 #49BB30
square
#308EBB #A230BB #BB5D30 #49BB30
split-complementary
#308EBB #BB3049 #BBA230
monochromatic
#17445A #23698A #308EBB #55AAD3 #86C3E0

Accessibility & contrast

On white

3.68
#308EBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#308EBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308EBB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308EBB#FFFFFF#000000##000000
##308EBB1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#788DBD
Deuteranopia (green-blind)
#657FBA
Tritanopia (blue-blind)
#009A9D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #308ebb;
/* rgb */ color: rgb(48, 142, 187);
/* oklch */ color: oklch(61.2% 0.109 233.7);
Tailwind
colors: {
  custom: {
    50: '#7cafcf',
    500: '#308ebb',
    950: '#000000',
  },
}
SCSS
$custom: #308ebb;
$custom-light: #7cafcf;
$custom-dark: #000000;
JSON
{
  "hex": "#308ebb",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 187
  },
  "hsl": {
    "h": 199.424,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.61222,
    "c": 0.1093,
    "h": 233.7
  },
  "luminance": 0.23562
}

Semantic roles & 50–950 ramp

primary
#308EBB
secondary
#C9967D
accent
#7845E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #308EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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