#318CB1#318CB1

#318CB1 is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.3% C 0.101 H 229.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#318CB1
RGBrgb(49, 140, 177)
HSLhsl(197, 57%, 44%)
HSVhsv(197, 72%, 69%)
CMYKcmyk(72.3%, 20.9%, 0%, 30.6%)
CIE-LABlab(54.64, -14.31, -27.15)
CIE-LCHlch(54.64, 30.69, 242.21°)
OKLaboklab(60.29% -0.0658 -0.0762)
OKLCHoklch(60.29% 0.101 229.2)
XYZxyz(18.5773, 22.5813, 44.9660)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318CB1 #B15631
analogous
#31B196 #318CB1 #314CB1
triadic
#318CB1 #B1318C #8CB131
tetradic
#318CB1 #9631B1 #B15631 #4CB131
square
#318CB1 #9631B1 #B15631 #4CB131
split-complementary
#318CB1 #B1314C #B19631
monochromatic
#164051 #246681 #318CB1 #51AACF #80C2DC

Accessibility & contrast

On white

3.81
#318CB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#318CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318CB1
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318CB1#FFFFFF#000000##000000
##318CB11.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#798AB3
Deuteranopia (green-blind)
#677DB0
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #318cb1;
/* rgb */ color: rgb(49, 140, 177);
/* oklch */ color: oklch(60.3% 0.101 229.2);
Tailwind
colors: {
  custom: {
    50: '#7aadc8',
    500: '#318cb1',
    950: '#000000',
  },
}
SCSS
$custom: #318cb1;
$custom-light: #7aadc8;
$custom-dark: #000000;
JSON
{
  "hex": "#318cb1",
  "rgb": {
    "r": 49,
    "g": 140,
    "b": 177
  },
  "hsl": {
    "h": 197.344,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.60286,
    "c": 0.10067,
    "h": 229.2
  },
  "luminance": 0.22583
}

Semantic roles & 50–950 ramp

primary
#318CB1
secondary
#C58F79
accent
#7448E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #318CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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