#318DA7#318DA7

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

Color values

HEX#318DA7
RGBrgb(49, 141, 167)
HSLhsl(193, 55%, 42%)
HSVhsv(193, 71%, 65%)
CMYKcmyk(70.7%, 15.6%, 0%, 34.5%)
CIE-LABlab(54.54, -18.20, -21.56)
CIE-LCHlch(54.54, 28.21, 229.83°)
OKLaboklab(60.08% -0.0707 -0.0602)
OKLCHoklch(60.08% 0.093 220.4)
XYZxyz(17.7637, 22.4907, 39.9567)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318DA7 #A74B31
analogous
#31A786 #318DA7 #3152A7
triadic
#318DA7 #A7318D #8DA731
tetradic
#318DA7 #8631A7 #A74B31 #52A731
square
#318DA7 #8631A7 #A74B31 #52A731
split-complementary
#318DA7 #A73152 #A78631
monochromatic
#153D48 #236578 #318DA7 #4BAECA #7AC3D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##318DA7#FFFFFF#000000##000000
##318DA71.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)
#7D89A8
Deuteranopia (green-blind)
#6D7DA7
Tritanopia (blue-blind)
#009595
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #318da7;
/* rgb */ color: rgb(49, 141, 167);
/* oklch */ color: oklch(60.1% 0.093 220.4);
Tailwind
colors: {
  custom: {
    50: '#79aec1',
    500: '#318da7',
    950: '#000000',
  },
}
SCSS
$custom: #318da7;
$custom-light: #79aec1;
$custom-dark: #000000;
JSON
{
  "hex": "#318da7",
  "rgb": {
    "r": 49,
    "g": 141,
    "b": 167
  },
  "hsl": {
    "h": 193.22,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.60078,
    "c": 0.09286,
    "h": 220.4
  },
  "luminance": 0.22493
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #318DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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