#318BAF#318BAF

#318BAF is a mid, moderate cyan. Relative luminance 0.222; OKLCH L 59.9% C 0.099 H 228.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#318BAF
RGBrgb(49, 139, 175)
HSLhsl(197, 56%, 44%)
HSVhsv(197, 72%, 69%)
CMYKcmyk(72%, 20.6%, 0%, 31.4%)
CIE-LABlab(54.25, -14.43, -26.60)
CIE-LCHlch(54.25, 30.27, 241.52°)
OKLaboklab(59.95% -0.0656 -0.0746)
OKLCHoklch(59.95% 0.099 228.7)
XYZxyz(18.2340, 22.2113, 43.8753)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318BAF #AF5531
analogous
#31AF94 #318BAF #314CAF
triadic
#318BAF #AF318B #8BAF31
tetradic
#318BAF #9431AF #AF5531 #4CAF31
square
#318BAF #9431AF #AF5531 #4CAF31
split-complementary
#318BAF #AF314C #AF9431
monochromatic
#163F4F #24657F #318BAF #4FAACE #7FC1DB

Accessibility & contrast

On white

3.86
#318BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#318BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318BAF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318BAF#FFFFFF#000000##000000
##318BAF1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7889B1
Deuteranopia (green-blind)
#677CAF
Tritanopia (blue-blind)
#009597
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #318baf;
/* rgb */ color: rgb(49, 139, 175);
/* oklch */ color: oklch(59.9% 0.099 228.7);
Tailwind
colors: {
  custom: {
    50: '#7aadc7',
    500: '#318baf',
    950: '#000000',
  },
}
SCSS
$custom: #318baf;
$custom-light: #7aadc7;
$custom-dark: #000000;
JSON
{
  "hex": "#318baf",
  "rgb": {
    "r": 49,
    "g": 139,
    "b": 175
  },
  "hsl": {
    "h": 197.143,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.59949,
    "c": 0.09931,
    "h": 228.7
  },
  "luminance": 0.22213
}

Semantic roles & 50–950 ramp

primary
#318BAF
secondary
#C48E78
accent
#7348E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #318BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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