#308DAF#308DAF

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

Color values

HEX#308DAF
RGBrgb(48, 141, 175)
HSLhsl(196, 57%, 44%)
HSVhsv(196, 73%, 69%)
CMYKcmyk(72.6%, 19.4%, 0%, 31.4%)
CIE-LABlab(54.84, -15.67, -25.70)
CIE-LCHlch(54.84, 30.10, 238.62°)
OKLaboklab(60.41% -0.0681 -0.072)
OKLCHoklch(60.41% 0.099 226.6)
XYZxyz(18.4785, 22.7711, 43.9705)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308DAF #AF5230
analogous
#30AF91 #308DAF #304DAF
triadic
#308DAF #AF308D #8DAF30
tetradic
#308DAF #9130AF #AF5230 #4DAF30
square
#308DAF #9130AF #AF5230 #4DAF30
split-complementary
#308DAF #AF304D #AF9130
monochromatic
#16404F #23667F #308DAF #4EACCE #7EC2DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308DAF#FFFFFF#000000##000000
##308DAF1.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)
#7B8AB1
Deuteranopia (green-blind)
#697EAF
Tritanopia (blue-blind)
#009798
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #308daf;
/* rgb */ color: rgb(48, 141, 175);
/* oklch */ color: oklch(60.4% 0.099 226.6);
Tailwind
colors: {
  custom: {
    50: '#7aaec7',
    500: '#308daf',
    950: '#000000',
  },
}
SCSS
$custom: #308daf;
$custom-light: #7aaec7;
$custom-dark: #000000;
JSON
{
  "hex": "#308daf",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 175
  },
  "hsl": {
    "h": 196.063,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.6041,
    "c": 0.09911,
    "h": 226.6
  },
  "luminance": 0.22773
}

Semantic roles & 50–950 ramp

primary
#308DAF
secondary
#C48B76
accent
#7048E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #308DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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