#318CB2#318CB2

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

Color values

HEX#318CB2
RGBrgb(49, 140, 178)
HSLhsl(198, 57%, 45%)
HSVhsv(198, 72%, 70%)
CMYKcmyk(72.5%, 21.3%, 0%, 30.2%)
CIE-LABlab(54.68, -13.97, -27.66)
CIE-LCHlch(54.68, 30.98, 243.21°)
OKLaboklab(60.33% -0.0655 -0.0776)
OKLCHoklch(60.33% 0.102 229.9)
XYZxyz(18.6774, 22.6213, 45.4929)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318CB2 #B25731
analogous
#31B297 #318CB2 #314CB2
triadic
#318CB2 #B2318C #8CB231
tetradic
#318CB2 #9731B2 #B25731 #4CB231
square
#318CB2 #9731B2 #B25731 #4CB231
split-complementary
#318CB2 #B2314C #B29731
monochromatic
#174152 #246682 #318CB2 #51AACF #81C1DC

Accessibility & contrast

On white

3.80
#318CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##318CB2#FFFFFF#000000##000000
##318CB21.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#798AB4
Deuteranopia (green-blind)
#677DB1
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #318cb2;
/* rgb */ color: rgb(49, 140, 178);
/* oklch */ color: oklch(60.3% 0.102 229.9);
Tailwind
colors: {
  custom: {
    50: '#7aadc9',
    500: '#318cb2',
    950: '#000000',
  },
}
SCSS
$custom: #318cb2;
$custom-light: #7aadc9;
$custom-dark: #000000;
JSON
{
  "hex": "#318cb2",
  "rgb": {
    "r": 49,
    "g": 140,
    "b": 178
  },
  "hsl": {
    "h": 197.674,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.60333,
    "c": 0.10154,
    "h": 229.9
  },
  "luminance": 0.22623
}

Semantic roles & 50–950 ramp

primary
#318CB2
secondary
#C59079
accent
#7548E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #318CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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