#318EC8#318EC8

#318EC8 is a mid, vivid cyan. Relative luminance 0.242; OKLCH L 61.9% C 0.122 H 240.7°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#318EC8
RGBrgb(49, 142, 200)
HSLhsl(203, 61%, 49%)
HSVhsv(203, 76%, 78%)
CMYKcmyk(75.5%, 29%, 0%, 21.6%)
CIE-LABlab(56.25, -7.45, -37.71)
CIE-LCHlch(56.25, 38.44, 258.83°)
OKLaboklab(61.91% -0.0599 -0.1067)
OKLCHoklch(61.91% 0.122 240.7)
XYZxyz(21.3609, 24.1666, 58.1712)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318EC8 #C86B31
analogous
#31C8B7 #318EC8 #3143C8
triadic
#318EC8 #C8318E #8EC831
tetradic
#318EC8 #B731C8 #C86B31 #43C831
square
#318EC8 #B731C8 #C86B31 #43C831
split-complementary
#318EC8 #C83143 #C8B731
monochromatic
#194866 #256B97 #318EC8 #5FA9D8 #90C3E4

Accessibility & contrast

On white

3.60
#318EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#318EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318EC8
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318EC8#FFFFFF#000000##000000
##318EC81.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#738FCB
Deuteranopia (green-blind)
#5E81C7
Tritanopia (blue-blind)
#009CA2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #318ec8;
/* rgb */ color: rgb(49, 142, 200);
/* oklch */ color: oklch(61.9% 0.122 240.7);
Tailwind
colors: {
  custom: {
    50: '#7eaed9',
    500: '#318ec8',
    950: '#000000',
  },
}
SCSS
$custom: #318ec8;
$custom-light: #7eaed9;
$custom-dark: #000000;
JSON
{
  "hex": "#318ec8",
  "rgb": {
    "r": 49,
    "g": 142,
    "b": 200
  },
  "hsl": {
    "h": 203.046,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.61906,
    "c": 0.12234,
    "h": 240.7
  },
  "luminance": 0.24169
}

Semantic roles & 50–950 ramp

primary
#318EC8
secondary
#CEA286
accent
#8144E4
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #318EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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