#318DB8#318DB8

#318DB8 is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 60.9% C 0.107 H 232.9°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#318DB8
RGBrgb(49, 141, 184)
HSLhsl(199, 58%, 46%)
HSVhsv(199, 73%, 72%)
CMYKcmyk(73.4%, 23.4%, 0%, 27.8%)
CIE-LABlab(55.24, -12.47, -30.22)
CIE-LCHlch(55.24, 32.69, 247.58°)
OKLaboklab(60.86% -0.0643 -0.085)
OKLCHoklch(60.86% 0.107 232.9)
XYZxyz(19.4398, 23.1612, 48.7841)
Luminance0.2316 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318DB8 #B85C31
analogous
#31B89F #318DB8 #3149B8
triadic
#318DB8 #B8318D #8DB831
tetradic
#318DB8 #9F31B8 #B85C31 #49B831
square
#318DB8 #9F31B8 #B85C31 #49B831
split-complementary
#318DB8 #B83149 #B89F31
monochromatic
#174357 #246888 #318DB8 #55AAD2 #85C2DE

Accessibility & contrast

On white

3.73
#318DB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#318DB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318DB8
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318DB8#FFFFFF#000000##000000
##318DB81.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#788CBA
Deuteranopia (green-blind)
#657FB7
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #318db8;
/* rgb */ color: rgb(49, 141, 184);
/* oklch */ color: oklch(60.9% 0.107 232.9);
Tailwind
colors: {
  custom: {
    50: '#7baecd',
    500: '#318db8',
    950: '#000000',
  },
}
SCSS
$custom: #318db8;
$custom-light: #7baecd;
$custom-dark: #000000;
JSON
{
  "hex": "#318db8",
  "rgb": {
    "r": 49,
    "g": 141,
    "b": 184
  },
  "hsl": {
    "h": 199.111,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.60862,
    "c": 0.10656,
    "h": 232.9
  },
  "luminance": 0.23163
}

Semantic roles & 50–950 ramp

primary
#318DB8
secondary
#C8957D
accent
#7847E1
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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