#318DAC#318DAC

#318DAC is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.3% C 0.096 H 224.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#318DAC
RGBrgb(49, 141, 172)
HSLhsl(195, 56%, 43%)
HSVhsv(195, 72%, 67%)
CMYKcmyk(71.5%, 18%, 0%, 32.5%)
CIE-LABlab(54.74, -16.54, -24.13)
CIE-LCHlch(54.74, 29.25, 235.57°)
OKLaboklab(60.3% -0.0687 -0.0675)
OKLCHoklch(60.3% 0.096 224.5)
XYZxyz(18.2349, 22.6792, 42.4382)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318DAC #AC5031
analogous
#31AC8D #318DAC #314FAC
triadic
#318DAC #AC318D #8DAC31
tetradic
#318DAC #8D31AC #AC5031 #4FAC31
square
#318DAC #8D31AC #AC5031 #4FAC31
split-complementary
#318DAC #AC314F #AC8D31
monochromatic
#163F4D #23667C #318DAC #4EADCC #7DC3DA

Accessibility & contrast

On white

3.79
#318DAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#318DAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318DAC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318DAC#FFFFFF#000000##000000
##318DAC1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8AAE
Deuteranopia (green-blind)
#6B7EAC
Tritanopia (blue-blind)
#009697
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #318dac;
/* rgb */ color: rgb(49, 141, 172);
/* oklch */ color: oklch(60.3% 0.096 224.5);
Tailwind
colors: {
  custom: {
    50: '#7aaec4',
    500: '#318dac',
    950: '#000000',
  },
}
SCSS
$custom: #318dac;
$custom-light: #7aaec4;
$custom-dark: #000000;
JSON
{
  "hex": "#318dac",
  "rgb": {
    "r": 49,
    "g": 141,
    "b": 172
  },
  "hsl": {
    "h": 195.122,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.603,
    "c": 0.09634,
    "h": 224.5
  },
  "luminance": 0.22681
}

Semantic roles & 50–950 ramp

primary
#318DAC
secondary
#C38976
accent
#6F49DF
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #318DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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