#318CAF#318CAF

#318CAF is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.2% C 0.099 H 227.7°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#318CAF
RGBrgb(49, 140, 175)
HSLhsl(197, 56%, 44%)
HSVhsv(197, 72%, 69%)
CMYKcmyk(72%, 20%, 0%, 31.4%)
CIE-LABlab(54.56, -14.98, -26.13)
CIE-LCHlch(54.56, 30.12, 240.17°)
OKLaboklab(60.19% -0.0666 -0.0732)
OKLCHoklch(60.19% 0.099 227.7)
XYZxyz(18.3794, 22.5022, 43.9238)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318CAF #AF5431
analogous
#31AF93 #318CAF #314DAF
triadic
#318CAF #AF318C #8CAF31
tetradic
#318CAF #9331AF #AF5431 #4DAF31
square
#318CAF #9331AF #AF5431 #4DAF31
split-complementary
#318CAF #AF314D #AF9331
monochromatic
#16404F #24667F #318CAF #4FABCE #7FC2DB

Accessibility & contrast

On white

3.82
#318CAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#318CAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318CAF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318CAF#FFFFFF#000000##000000
##318CAF1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#798AB1
Deuteranopia (green-blind)
#687DAF
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #318caf;
/* rgb */ color: rgb(49, 140, 175);
/* oklch */ color: oklch(60.2% 0.099 227.7);
Tailwind
colors: {
  custom: {
    50: '#7aadc7',
    500: '#318caf',
    950: '#000000',
  },
}
SCSS
$custom: #318caf;
$custom-light: #7aadc7;
$custom-dark: #000000;
JSON
{
  "hex": "#318caf",
  "rgb": {
    "r": 49,
    "g": 140,
    "b": 175
  },
  "hsl": {
    "h": 196.667,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.60193,
    "c": 0.09898,
    "h": 227.7
  },
  "luminance": 0.22504
}

Semantic roles & 50–950 ramp

primary
#318CAF
secondary
#C48D78
accent
#7248E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #318CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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