#308FAB#308FAB

#308FAB is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 60.7% C 0.096 H 221.5°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#308FAB
RGBrgb(48, 143, 171)
HSLhsl(194, 56%, 43%)
HSVhsv(194, 72%, 67%)
CMYKcmyk(71.9%, 16.4%, 0%, 32.9%)
CIE-LABlab(55.29, -18.10, -22.71)
CIE-LCHlch(55.29, 29.04, 231.45°)
OKLaboklab(60.72% -0.0717 -0.0635)
OKLCHoklch(60.72% 0.096 221.5)
XYZxyz(18.3890, 23.2115, 42.0313)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308FAB #AB4C30
analogous
#30AB8A #308FAB #3051AB
triadic
#308FAB #AB308F #8FAB30
tetradic
#308FAB #8A30AB #AB4C30 #51AB30
square
#308FAB #8A30AB #AB4C30 #51AB30
split-complementary
#308FAB #AB3051 #AB8A30
monochromatic
#153F4B #23677B #308FAB #4CAFCD #7BC4DA

Accessibility & contrast

On white

3.72
#308FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#308FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308FAB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308FAB#FFFFFF#000000##000000
##308FAB1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8BAC
Deuteranopia (green-blind)
#6D7FAB
Tritanopia (blue-blind)
#009898
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #308fab;
/* rgb */ color: rgb(48, 143, 171);
/* oklch */ color: oklch(60.7% 0.096 221.5);
Tailwind
colors: {
  custom: {
    50: '#79b0c4',
    500: '#308fab',
    950: '#000000',
  },
}
SCSS
$custom: #308fab;
$custom-light: #79b0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#308fab",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 171
  },
  "hsl": {
    "h": 193.659,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.6072,
    "c": 0.09574,
    "h": 221.5
  },
  "luminance": 0.23214
}

Semantic roles & 50–950 ramp

primary
#308FAB
secondary
#C38674
accent
#6B48DF
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #308FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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