#308BA2#308BA2

#308BA2 is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 59.3% C 0.090 H 218.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#308BA2
RGBrgb(48, 139, 162)
HSLhsl(192, 54%, 41%)
HSVhsv(192, 70%, 64%)
CMYKcmyk(70.4%, 14.2%, 0%, 36.5%)
CIE-LABlab(53.71, -18.91, -19.97)
CIE-LCHlch(53.71, 27.50, 226.55°)
OKLaboklab(59.34% -0.0711 -0.0557)
OKLCHoklch(59.34% 0.09 218)
XYZxyz(16.9704, 21.7003, 37.4696)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308BA2 #A24730
analogous
#30A280 #308BA2 #3052A2
triadic
#308BA2 #A2308B #8BA230
tetradic
#308BA2 #8030A2 #A24730 #52A230
square
#308BA2 #8030A2 #A24730 #52A230
split-complementary
#308BA2 #A23052 #A28030
monochromatic
#143A44 #226273 #308BA2 #47AEC8 #76C3D6

Accessibility & contrast

On white

3.93
#308BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#308BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308BA2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308BA2#FFFFFF#000000##000000
##308BA21.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C87A3
Deuteranopia (green-blind)
#6C7BA2
Tritanopia (blue-blind)
#009392
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #308ba2;
/* rgb */ color: rgb(48, 139, 162);
/* oklch */ color: oklch(59.3% 0.090 218.0);
Tailwind
colors: {
  custom: {
    50: '#78adbd',
    500: '#308ba2',
    950: '#000000',
  },
}
SCSS
$custom: #308ba2;
$custom-light: #78adbd;
$custom-dark: #000000;
JSON
{
  "hex": "#308ba2",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 162
  },
  "hsl": {
    "h": 192.105,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.59336,
    "c": 0.09035,
    "h": 218
  },
  "luminance": 0.21702
}

Semantic roles & 50–950 ramp

primary
#308BA2
secondary
#BE7F6F
accent
#684ADE
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #308BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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