#318BB6#318BB6

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

Color values

HEX#318BB6
RGBrgb(49, 139, 182)
HSLhsl(199, 58%, 45%)
HSVhsv(199, 73%, 71%)
CMYKcmyk(73.1%, 23.6%, 0%, 28.6%)
CIE-LABlab(54.55, -12.04, -30.15)
CIE-LCHlch(54.55, 32.46, 248.23°)
OKLaboklab(60.28% -0.063 -0.0848)
OKLCHoklch(60.28% 0.106 233.4)
XYZxyz(18.9394, 22.4934, 47.5904)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318BB6 #B65C31
analogous
#31B69E #318BB6 #3149B6
triadic
#318BB6 #B6318B #8BB631
tetradic
#318BB6 #9E31B6 #B65C31 #49B631
square
#318BB6 #9E31B6 #B65C31 #49B631
split-complementary
#318BB6 #B63149 #B69E31
monochromatic
#174156 #246686 #318BB6 #53A8D1 #84C1DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##318BB6#FFFFFF#000000##000000
##318BB61.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)
#768AB8
Deuteranopia (green-blind)
#647DB5
Tritanopia (blue-blind)
#009699
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #318bb6;
/* rgb */ color: rgb(49, 139, 182);
/* oklch */ color: oklch(60.3% 0.106 233.4);
Tailwind
colors: {
  custom: {
    50: '#7baccc',
    500: '#318bb6',
    950: '#000000',
  },
}
SCSS
$custom: #318bb6;
$custom-light: #7baccc;
$custom-dark: #000000;
JSON
{
  "hex": "#318bb6",
  "rgb": {
    "r": 49,
    "g": 139,
    "b": 182
  },
  "hsl": {
    "h": 199.398,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.60283,
    "c": 0.10566,
    "h": 233.4
  },
  "luminance": 0.22496
}

Semantic roles & 50–950 ramp

primary
#318BB6
secondary
#C7947C
accent
#7947E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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