#308FAC#308FAC

#308FAC is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 60.8% C 0.096 H 222.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#308FAC
RGBrgb(48, 143, 172)
HSLhsl(194, 56%, 43%)
HSVhsv(194, 72%, 67%)
CMYKcmyk(72.1%, 16.9%, 0%, 32.5%)
CIE-LABlab(55.33, -17.76, -23.22)
CIE-LCHlch(55.33, 29.24, 232.59°)
OKLaboklab(60.77% -0.0713 -0.0649)
OKLCHoklch(60.77% 0.096 222.3)
XYZxyz(18.4847, 23.2497, 42.5352)
Luminance0.2325 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308FAC #AC4D30
analogous
#30AC8B #308FAC #3051AC
triadic
#308FAC #AC308F #8FAC30
tetradic
#308FAC #8B30AC #AC4D30 #51AC30
square
#308FAC #8B30AC #AC4D30 #51AC30
split-complementary
#308FAC #AC3051 #AC8B30
monochromatic
#153F4C #23677C #308FAC #4CAFCD #7CC4DA

Accessibility & contrast

On white

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

On black

5.65
#308FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308FAC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308FAC#FFFFFF#000000##000000
##308FAC1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #308fac;
/* rgb */ color: rgb(48, 143, 172);
/* oklch */ color: oklch(60.8% 0.096 222.3);
Tailwind
colors: {
  custom: {
    50: '#79b0c4',
    500: '#308fac',
    950: '#000000',
  },
}
SCSS
$custom: #308fac;
$custom-light: #79b0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#308fac",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 172
  },
  "hsl": {
    "h": 194.032,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.60765,
    "c": 0.09642,
    "h": 222.3
  },
  "luminance": 0.23252
}

Semantic roles & 50–950 ramp

primary
#308FAC
secondary
#C38775
accent
#6C48E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #308FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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