#318DAF#318DAF

#318DAF is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.4% C 0.099 H 226.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#318DAF
RGBrgb(49, 141, 175)
HSLhsl(196, 56%, 44%)
HSVhsv(196, 72%, 69%)
CMYKcmyk(72%, 19.4%, 0%, 31.4%)
CIE-LABlab(54.86, -15.53, -25.66)
CIE-LCHlch(54.86, 29.99, 238.81°)
OKLaboklab(60.44% -0.0676 -0.0719)
OKLCHoklch(60.44% 0.099 226.8)
XYZxyz(18.5262, 22.7957, 43.9728)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318DAF #AF5331
analogous
#31AF92 #318DAF #314EAF
triadic
#318DAF #AF318D #8DAF31
tetradic
#318DAF #9231AF #AF5331 #4EAF31
square
#318DAF #9231AF #AF5331 #4EAF31
split-complementary
#318DAF #AF314E #AF9231
monochromatic
#16404F #24667F #318DAF #4FACCE #7FC2DB

Accessibility & contrast

On white

3.78
#318DAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#318DAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318DAF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318DAF#FFFFFF#000000##000000
##318DAF1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8AB1
Deuteranopia (green-blind)
#6A7EAF
Tritanopia (blue-blind)
#009798
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #318daf;
/* rgb */ color: rgb(49, 141, 175);
/* oklch */ color: oklch(60.4% 0.099 226.8);
Tailwind
colors: {
  custom: {
    50: '#7aaec7',
    500: '#318daf',
    950: '#000000',
  },
}
SCSS
$custom: #318daf;
$custom-light: #7aaec7;
$custom-dark: #000000;
JSON
{
  "hex": "#318daf",
  "rgb": {
    "r": 49,
    "g": 141,
    "b": 175
  },
  "hsl": {
    "h": 196.19,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.60437,
    "c": 0.09867,
    "h": 226.8
  },
  "luminance": 0.22798
}

Semantic roles & 50–950 ramp

primary
#318DAF
secondary
#C48C78
accent
#7148E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #318DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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