#318CA8#318CA8

#318CA8 is a mid, moderate cyan. Relative luminance 0.222; OKLCH L 59.9% C 0.094 H 222.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#318CA8
RGBrgb(49, 140, 168)
HSLhsl(194, 55%, 43%)
HSVhsv(194, 71%, 66%)
CMYKcmyk(70.8%, 16.7%, 0%, 34.1%)
CIE-LABlab(54.27, -17.33, -22.55)
CIE-LCHlch(54.27, 28.44, 232.46°)
OKLaboklab(59.88% -0.0693 -0.063)
OKLCHoklch(59.88% 0.094 222.3)
XYZxyz(17.7097, 22.2343, 40.3965)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318CA8 #A84D31
analogous
#31A889 #318CA8 #3150A8
triadic
#318CA8 #A8318C #8CA831
tetradic
#318CA8 #8931A8 #A84D31 #50A831
square
#318CA8 #8931A8 #A84D31 #50A831
split-complementary
#318CA8 #A83150 #A88931
monochromatic
#153D49 #236579 #318CA8 #4CADCB #7BC2D8

Accessibility & contrast

On white

3.86
#318CA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#318CA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318CA8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318CA8#FFFFFF#000000##000000
##318CA81.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C89A9
Deuteranopia (green-blind)
#6B7DA8
Tritanopia (blue-blind)
#009595
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #318ca8;
/* rgb */ color: rgb(49, 140, 168);
/* oklch */ color: oklch(59.9% 0.094 222.3);
Tailwind
colors: {
  custom: {
    50: '#79adc2',
    500: '#318ca8',
    950: '#000000',
  },
}
SCSS
$custom: #318ca8;
$custom-light: #79adc2;
$custom-dark: #000000;
JSON
{
  "hex": "#318ca8",
  "rgb": {
    "r": 49,
    "g": 140,
    "b": 168
  },
  "hsl": {
    "h": 194.118,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.59875,
    "c": 0.09363,
    "h": 222.3
  },
  "luminance": 0.22236
}

Semantic roles & 50–950 ramp

primary
#318CA8
secondary
#C18674
accent
#6D4ADE
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #318CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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