#308AAF#308AAF

#308AAF is a mid, moderate cyan. Relative luminance 0.219; OKLCH L 59.7% C 0.100 H 229.5°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#308AAF
RGBrgb(48, 138, 175)
HSLhsl(197, 57%, 44%)
HSVhsv(197, 73%, 69%)
CMYKcmyk(72.6%, 21.1%, 0%, 31.4%)
CIE-LABlab(53.92, -14.02, -27.12)
CIE-LCHlch(53.92, 30.53, 242.66°)
OKLaboklab(59.68% -0.0651 -0.0761)
OKLCHoklch(59.68% 0.1 229.5)
XYZxyz(18.0421, 21.8984, 43.8251)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308AAF #AF5530
analogous
#30AF94 #308AAF #304AAF
triadic
#308AAF #AF308A #8AAF30
tetradic
#308AAF #9430AF #AF5530 #4AAF30
square
#308AAF #9430AF #AF5530 #4AAF30
split-complementary
#308AAF #AF304A #AF9430
monochromatic
#163E4F #23647F #308AAF #4EA9CE #7EC0DC

Accessibility & contrast

On white

3.90
#308AAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#308AAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308AAF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308AAF#FFFFFF#000000##000000
##308AAF1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7788B1
Deuteranopia (green-blind)
#667BAE
Tritanopia (blue-blind)
#009496
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #308aaf;
/* rgb */ color: rgb(48, 138, 175);
/* oklch */ color: oklch(59.7% 0.100 229.5);
Tailwind
colors: {
  custom: {
    50: '#79acc7',
    500: '#308aaf',
    950: '#000000',
  },
}
SCSS
$custom: #308aaf;
$custom-light: #79acc7;
$custom-dark: #000000;
JSON
{
  "hex": "#308aaf",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 175
  },
  "hsl": {
    "h": 197.48,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.59677,
    "c": 0.10012,
    "h": 229.5
  },
  "luminance": 0.219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #308AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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