#308CAB#308CAB

#308CAB is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.0% C 0.096 H 224.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#308CAB
RGBrgb(48, 140, 171)
HSLhsl(195, 56%, 43%)
HSVhsv(195, 72%, 67%)
CMYKcmyk(71.9%, 18.1%, 0%, 32.9%)
CIE-LABlab(54.37, -16.47, -24.13)
CIE-LCHlch(54.37, 29.22, 235.68°)
OKLaboklab(59.98% -0.0686 -0.0675)
OKLCHoklch(59.98% 0.096 224.5)
XYZxyz(17.9447, 22.3228, 41.8832)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308CAB #AB4F30
analogous
#30AB8C #308CAB #304EAB
triadic
#308CAB #AB308C #8CAB30
tetradic
#308CAB #8C30AB #AB4F30 #4EAB30
square
#308CAB #8C30AB #AB4F30 #4EAB30
split-complementary
#308CAB #AB304E #AB8C30
monochromatic
#153E4B #23657B #308CAB #4CACCD #7BC2DA

Accessibility & contrast

On white

3.84
#308CAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#308CAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308CAB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308CAB#FFFFFF#000000##000000
##308CAB1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B89AD
Deuteranopia (green-blind)
#6A7DAB
Tritanopia (blue-blind)
#009596
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #308cab;
/* rgb */ color: rgb(48, 140, 171);
/* oklch */ color: oklch(60.0% 0.096 224.5);
Tailwind
colors: {
  custom: {
    50: '#79adc4',
    500: '#308cab',
    950: '#000000',
  },
}
SCSS
$custom: #308cab;
$custom-light: #79adc4;
$custom-dark: #000000;
JSON
{
  "hex": "#308cab",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 171
  },
  "hsl": {
    "h": 195.122,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.59982,
    "c": 0.09626,
    "h": 224.5
  },
  "luminance": 0.22325
}

Semantic roles & 50–950 ramp

primary
#308CAB
secondary
#C38874
accent
#6E48DF
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #308CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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