#318BAC#318BAC

#318BAC is a mid, moderate cyan. Relative luminance 0.221; OKLCH L 59.8% C 0.097 H 226.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#318BAC
RGBrgb(49, 139, 172)
HSLhsl(196, 56%, 43%)
HSVhsv(196, 72%, 67%)
CMYKcmyk(71.5%, 19.2%, 0%, 32.5%)
CIE-LABlab(54.13, -15.45, -25.07)
CIE-LCHlch(54.13, 29.45, 238.36°)
OKLaboklab(59.81% -0.0667 -0.0702)
OKLCHoklch(59.81% 0.097 226.5)
XYZxyz(17.9426, 22.0947, 42.3408)
Luminance0.2210 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318BAC #AC5231
analogous
#31AC8F #318BAC #314DAC
triadic
#318BAC #AC318B #8BAC31
tetradic
#318BAC #8F31AC #AC5231 #4DAC31
square
#318BAC #8F31AC #AC5231 #4DAC31
split-complementary
#318BAC #AC314D #AC8F31
monochromatic
#163E4D #23657C #318BAC #4EAACC #7DC1DA

Accessibility & contrast

On white

3.87
#318BAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#318BAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318BAC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318BAC#FFFFFF#000000##000000
##318BAC1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7988AE
Deuteranopia (green-blind)
#687CAC
Tritanopia (blue-blind)
#009596
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #318bac;
/* rgb */ color: rgb(49, 139, 172);
/* oklch */ color: oklch(59.8% 0.097 226.5);
Tailwind
colors: {
  custom: {
    50: '#79adc4',
    500: '#318bac',
    950: '#000000',
  },
}
SCSS
$custom: #318bac;
$custom-light: #79adc4;
$custom-dark: #000000;
JSON
{
  "hex": "#318bac",
  "rgb": {
    "r": 49,
    "g": 139,
    "b": 172
  },
  "hsl": {
    "h": 196.098,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5981,
    "c": 0.09684,
    "h": 226.5
  },
  "luminance": 0.22097
}

Semantic roles & 50–950 ramp

primary
#318BAC
secondary
#C38B76
accent
#7149DF
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #318BAC

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

Preview Lab → · Contrast checker → · Palette generator →

#318BAC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva