#318FB6#318FB6

#318FB6 is a mid, moderate cyan. Relative luminance 0.237; OKLCH L 61.3% C 0.104 H 229.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#318FB6
RGBrgb(49, 143, 182)
HSLhsl(198, 58%, 45%)
HSVhsv(198, 73%, 71%)
CMYKcmyk(73.1%, 21.4%, 0%, 28.6%)
CIE-LABlab(55.76, -14.26, -28.27)
CIE-LCHlch(55.76, 31.66, 243.23°)
OKLaboklab(61.25% -0.067 -0.0794)
OKLCHoklch(61.25% 0.104 229.8)
XYZxyz(19.5292, 23.6730, 47.7870)
Luminance0.2367 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318FB6 #B65831
analogous
#31B69A #318FB6 #314CB6
triadic
#318FB6 #B6318F #8FB631
tetradic
#318FB6 #9A31B6 #B65831 #4CB631
square
#318FB6 #9A31B6 #B65831 #4CB631
split-complementary
#318FB6 #B6314C #B69A31
monochromatic
#174356 #246986 #318FB6 #53ACD1 #84C3DE

Accessibility & contrast

On white

3.66
#318FB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#318FB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318FB6
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318FB6#FFFFFF#000000##000000
##318FB61.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8DB8
Deuteranopia (green-blind)
#6980B5
Tritanopia (blue-blind)
#009A9C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #318fb6;
/* rgb */ color: rgb(49, 143, 182);
/* oklch */ color: oklch(61.3% 0.104 229.8);
Tailwind
colors: {
  custom: {
    50: '#7bafcc',
    500: '#318fb6',
    950: '#000000',
  },
}
SCSS
$custom: #318fb6;
$custom-light: #7bafcc;
$custom-dark: #000000;
JSON
{
  "hex": "#318fb6",
  "rgb": {
    "r": 49,
    "g": 143,
    "b": 182
  },
  "hsl": {
    "h": 197.594,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.6125,
    "c": 0.10386,
    "h": 229.8
  },
  "luminance": 0.23675
}

Semantic roles & 50–950 ramp

primary
#318FB6
secondary
#C7927C
accent
#7447E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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