#318EA4#318EA4

#318EA4 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.2% C 0.091 H 216.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#318EA4
RGBrgb(49, 142, 164)
HSLhsl(191, 54%, 42%)
HSVhsv(191, 70%, 64%)
CMYKcmyk(70.1%, 13.4%, 0%, 35.7%)
CIE-LABlab(54.74, -19.71, -19.54)
CIE-LCHlch(54.74, 27.76, 224.75°)
OKLaboklab(60.2% -0.073 -0.0544)
OKLCHoklch(60.2% 0.091 216.7)
XYZxyz(17.6377, 22.6773, 38.5624)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318EA4 #A44731
analogous
#31A481 #318EA4 #3155A4
triadic
#318EA4 #A4318E #8EA431
tetradic
#318EA4 #8131A4 #A44731 #55A431
square
#318EA4 #8131A4 #A44731 #55A431
split-complementary
#318EA4 #A43155 #A48131
monochromatic
#153C46 #236575 #318EA4 #49B0C9 #79C5D7

Accessibility & contrast

On white

3.79
#318EA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#318EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318EA4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318EA4#FFFFFF#000000##000000
##318EA41.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8AA5
Deuteranopia (green-blind)
#6F7EA4
Tritanopia (blue-blind)
#009695
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #318ea4;
/* rgb */ color: rgb(49, 142, 164);
/* oklch */ color: oklch(60.2% 0.091 216.7);
Tailwind
colors: {
  custom: {
    50: '#79afbf',
    500: '#318ea4',
    950: '#000000',
  },
}
SCSS
$custom: #318ea4;
$custom-light: #79afbf;
$custom-dark: #000000;
JSON
{
  "hex": "#318ea4",
  "rgb": {
    "r": 49,
    "g": 142,
    "b": 164
  },
  "hsl": {
    "h": 191.478,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.60196,
    "c": 0.09104,
    "h": 216.7
  },
  "luminance": 0.22679
}

Semantic roles & 50–950 ramp

primary
#318EA4
secondary
#BF8072
accent
#674ADD
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #318EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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