#318CA5#318CA5

#318CA5 is a mid, moderate cyan. Relative luminance 0.221; OKLCH L 59.7% C 0.092 H 219.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#318CA5
RGBrgb(49, 140, 165)
HSLhsl(193, 54%, 42%)
HSVhsv(193, 70%, 65%)
CMYKcmyk(70.3%, 15.2%, 0%, 35.3%)
CIE-LABlab(54.16, -18.32, -21.00)
CIE-LCHlch(54.16, 27.87, 228.90°)
OKLaboklab(59.74% -0.0705 -0.0586)
OKLCHoklch(59.74% 0.092 219.8)
XYZxyz(17.4334, 22.1238, 38.9415)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318CA5 #A54A31
analogous
#31A584 #318CA5 #3152A5
triadic
#318CA5 #A5318C #8CA531
tetradic
#318CA5 #8431A5 #A54A31 #52A531
square
#318CA5 #8431A5 #A54A31 #52A531
split-complementary
#318CA5 #A53152 #A58431
monochromatic
#153C47 #236476 #318CA5 #4AAEC9 #79C3D7

Accessibility & contrast

On white

3.87
#318CA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#318CA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318CA5
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318CA5#FFFFFF#000000##000000
##318CA51.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D88A6
Deuteranopia (green-blind)
#6C7CA5
Tritanopia (blue-blind)
#009494
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #318ca5;
/* rgb */ color: rgb(49, 140, 165);
/* oklch */ color: oklch(59.7% 0.092 219.8);
Tailwind
colors: {
  custom: {
    50: '#79adbf',
    500: '#318ca5',
    950: '#000000',
  },
}
SCSS
$custom: #318ca5;
$custom-light: #79adbf;
$custom-dark: #000000;
JSON
{
  "hex": "#318ca5",
  "rgb": {
    "r": 49,
    "g": 140,
    "b": 165
  },
  "hsl": {
    "h": 192.931,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.59743,
    "c": 0.09166,
    "h": 219.8
  },
  "luminance": 0.22126
}

Semantic roles & 50–950 ramp

primary
#318CA5
secondary
#C08372
accent
#6A4ADE
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #318CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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