#318DA4#318DA4

#318DA4 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 59.9% C 0.091 H 217.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#318DA4
RGBrgb(49, 141, 164)
HSLhsl(192, 54%, 42%)
HSVhsv(192, 70%, 64%)
CMYKcmyk(70.1%, 14%, 0%, 35.7%)
CIE-LABlab(54.43, -19.18, -20.01)
CIE-LCHlch(54.43, 27.72, 226.21°)
OKLaboklab(59.95% -0.0719 -0.0558)
OKLCHoklch(59.95% 0.091 217.8)
XYZxyz(17.4896, 22.3811, 38.5130)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318DA4 #A44831
analogous
#31A482 #318DA4 #3154A4
triadic
#318DA4 #A4318D #8DA431
tetradic
#318DA4 #8231A4 #A44831 #54A431
square
#318DA4 #8231A4 #A44831 #54A431
split-complementary
#318DA4 #A43154 #A48231
monochromatic
#153C46 #236475 #318DA4 #49AFC9 #79C4D7

Accessibility & contrast

On white

3.83
#318DA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#318DA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318DA4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318DA4#FFFFFF#000000##000000
##318DA41.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E89A5
Deuteranopia (green-blind)
#6E7DA4
Tritanopia (blue-blind)
#009594
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #318da4;
/* rgb */ color: rgb(49, 141, 164);
/* oklch */ color: oklch(59.9% 0.091 217.8);
Tailwind
colors: {
  custom: {
    50: '#78aebf',
    500: '#318da4',
    950: '#000000',
  },
}
SCSS
$custom: #318da4;
$custom-light: #78aebf;
$custom-dark: #000000;
JSON
{
  "hex": "#318da4",
  "rgb": {
    "r": 49,
    "g": 141,
    "b": 164
  },
  "hsl": {
    "h": 192,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.59948,
    "c": 0.09102,
    "h": 217.8
  },
  "luminance": 0.22383
}

Semantic roles & 50–950 ramp

primary
#318DA4
secondary
#BF8172
accent
#684ADD
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #318DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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