#308EB4#308EB4

#308EB4 is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 60.9% C 0.103 H 229.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#308EB4
RGBrgb(48, 142, 180)
HSLhsl(197, 58%, 45%)
HSVhsv(197, 73%, 71%)
CMYKcmyk(73.3%, 21.1%, 0%, 29.4%)
CIE-LABlab(55.35, -14.53, -27.77)
CIE-LCHlch(55.35, 31.34, 242.38°)
OKLaboklab(60.89% -0.0672 -0.0779)
OKLCHoklch(60.89% 0.103 229.2)
XYZxyz(19.1268, 23.2674, 46.6542)
Luminance0.2327 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308EB4 #B45630
analogous
#30B498 #308EB4 #304CB4
triadic
#308EB4 #B4308E #8EB430
tetradic
#308EB4 #9830B4 #B45630 #4CB430
square
#308EB4 #9830B4 #B45630 #4CB430
split-complementary
#308EB4 #B4304C #B49830
monochromatic
#164253 #236884 #308EB4 #51ACD1 #81C3DD

Accessibility & contrast

On white

3.71
#308EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#308EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308EB4
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308EB4#FFFFFF#000000##000000
##308EB41.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8CB6
Deuteranopia (green-blind)
#687FB3
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #308eb4;
/* rgb */ color: rgb(48, 142, 180);
/* oklch */ color: oklch(60.9% 0.103 229.2);
Tailwind
colors: {
  custom: {
    50: '#7aafca',
    500: '#308eb4',
    950: '#000000',
  },
}
SCSS
$custom: #308eb4;
$custom-light: #7aafca;
$custom-dark: #000000;
JSON
{
  "hex": "#308eb4",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 180
  },
  "hsl": {
    "h": 197.273,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.60886,
    "c": 0.10293,
    "h": 229.2
  },
  "luminance": 0.2327
}

Semantic roles & 50–950 ramp

primary
#308EB4
secondary
#C69079
accent
#7347E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #308EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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