#308EA7#308EA7

#308EA7 is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.3% C 0.093 H 219.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#308EA7
RGBrgb(48, 142, 167)
HSLhsl(193, 55%, 42%)
HSVhsv(193, 71%, 65%)
CMYKcmyk(71.3%, 15%, 0%, 34.5%)
CIE-LABlab(54.83, -18.88, -21.13)
CIE-LCHlch(54.83, 28.34, 228.22°)
OKLaboklab(60.3% -0.0722 -0.059)
OKLCHoklch(60.3% 0.093 219.2)
XYZxyz(17.8641, 22.7624, 40.0038)
Luminance0.2276 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308EA7 #A74930
analogous
#30A785 #308EA7 #3053A7
triadic
#308EA7 #A7308E #8EA730
tetradic
#308EA7 #8530A7 #A74930 #53A730
square
#308EA7 #8530A7 #A74930 #53A730
split-complementary
#308EA7 #A73053 #A78530
monochromatic
#153D48 #226677 #308EA7 #49B0CB #79C4D8

Accessibility & contrast

On white

3.78
#308EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#308EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308EA7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308EA7#FFFFFF#000000##000000
##308EA71.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8AA8
Deuteranopia (green-blind)
#6E7EA7
Tritanopia (blue-blind)
#009696
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #308ea7;
/* rgb */ color: rgb(48, 142, 167);
/* oklch */ color: oklch(60.3% 0.093 219.2);
Tailwind
colors: {
  custom: {
    50: '#79afc1',
    500: '#308ea7',
    950: '#000000',
  },
}
SCSS
$custom: #308ea7;
$custom-light: #79afc1;
$custom-dark: #000000;
JSON
{
  "hex": "#308ea7",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 167
  },
  "hsl": {
    "h": 192.605,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.60298,
    "c": 0.09326,
    "h": 219.2
  },
  "luminance": 0.22764
}

Semantic roles & 50–950 ramp

primary
#308EA7
secondary
#C18372
accent
#6949DF
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #308EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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