#308EB5#308EB5

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

Color values

HEX#308EB5
RGBrgb(48, 142, 181)
HSLhsl(198, 58%, 45%)
HSVhsv(198, 73%, 71%)
CMYKcmyk(73.5%, 21.5%, 0%, 29%)
CIE-LABlab(55.39, -14.19, -28.27)
CIE-LCHlch(55.39, 31.63, 243.36°)
OKLaboklab(60.93% -0.0669 -0.0794)
OKLCHoklch(60.93% 0.104 229.9)
XYZxyz(19.2290, 23.3083, 47.1926)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308EB5 #B55730
analogous
#30B59A #308EB5 #304BB5
triadic
#308EB5 #B5308E #8EB530
tetradic
#308EB5 #9A30B5 #B55730 #4BB530
square
#308EB5 #9A30B5 #B55730 #4BB530
split-complementary
#308EB5 #B5304B #B59A30
monochromatic
#164254 #236885 #308EB5 #51ABD1 #82C3DE

Accessibility & contrast

On white

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

On black

5.66
#308EB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308EB5
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308EB5#FFFFFF#000000##000000
##308EB51.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #308eb5;
/* rgb */ color: rgb(48, 142, 181);
/* oklch */ color: oklch(60.9% 0.104 229.9);
Tailwind
colors: {
  custom: {
    50: '#7bafcb',
    500: '#308eb5',
    950: '#000000',
  },
}
SCSS
$custom: #308eb5;
$custom-light: #7bafcb;
$custom-dark: #000000;
JSON
{
  "hex": "#308eb5",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 181
  },
  "hsl": {
    "h": 197.594,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.60933,
    "c": 0.10379,
    "h": 229.9
  },
  "luminance": 0.23311
}

Semantic roles & 50–950 ramp

primary
#308EB5
secondary
#C7907A
accent
#7446E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #308EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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