#308BAF#308BAF

#308BAF is a mid, moderate cyan. Relative luminance 0.222; OKLCH L 59.9% C 0.100 H 228.5°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#308BAF
RGBrgb(48, 139, 175)
HSLhsl(197, 57%, 44%)
HSVhsv(197, 73%, 69%)
CMYKcmyk(72.6%, 20.6%, 0%, 31.4%)
CIE-LABlab(54.22, -14.57, -26.64)
CIE-LCHlch(54.22, 30.37, 241.32°)
OKLaboklab(59.92% -0.0661 -0.0747)
OKLCHoklch(59.92% 0.1 228.5)
XYZxyz(18.1863, 22.1867, 43.8731)
Luminance0.2219 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308BAF #AF5430
analogous
#30AF93 #308BAF #304BAF
triadic
#308BAF #AF308B #8BAF30
tetradic
#308BAF #9330AF #AF5430 #4BAF30
square
#308BAF #9330AF #AF5430 #4BAF30
split-complementary
#308BAF #AF304B #AF9330
monochromatic
#163F4F #23657F #308BAF #4EAACE #7EC1DC

Accessibility & contrast

On white

3.86
#308BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#308BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308BAF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308BAF#FFFFFF#000000##000000
##308BAF1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7889B1
Deuteranopia (green-blind)
#677CAF
Tritanopia (blue-blind)
#009597
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #308baf;
/* rgb */ color: rgb(48, 139, 175);
/* oklch */ color: oklch(59.9% 0.100 228.5);
Tailwind
colors: {
  custom: {
    50: '#79adc7',
    500: '#308baf',
    950: '#000000',
  },
}
SCSS
$custom: #308baf;
$custom-light: #79adc7;
$custom-dark: #000000;
JSON
{
  "hex": "#308baf",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 175
  },
  "hsl": {
    "h": 197.008,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.59921,
    "c": 0.09975,
    "h": 228.5
  },
  "luminance": 0.22189
}

Semantic roles & 50–950 ramp

primary
#308BAF
secondary
#C48D76
accent
#7348E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #308BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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