#318EA7#318EA7

#318EA7 is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.3% C 0.093 H 219.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#318EA7
RGBrgb(49, 142, 167)
HSLhsl(193, 55%, 42%)
HSVhsv(193, 71%, 65%)
CMYKcmyk(70.7%, 15%, 0%, 34.5%)
CIE-LABlab(54.85, -18.74, -21.09)
CIE-LCHlch(54.85, 28.21, 228.38°)
OKLaboklab(60.33% -0.0717 -0.0588)
OKLCHoklch(60.33% 0.093 219.4)
XYZxyz(17.9118, 22.7870, 40.0060)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318EA7 #A74A31
analogous
#31A785 #318EA7 #3153A7
triadic
#318EA7 #A7318E #8EA731
tetradic
#318EA7 #8531A7 #A74A31 #53A731
square
#318EA7 #8531A7 #A74A31 #53A731
split-complementary
#318EA7 #A73153 #A78531
monochromatic
#153E48 #236678 #318EA7 #4BAFCA #7AC4D8

Accessibility & contrast

On white

3.78
#318EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#318EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318EA7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318EA7#FFFFFF#000000##000000
##318EA71.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8AA8
Deuteranopia (green-blind)
#6E7EA7
Tritanopia (blue-blind)
#009696
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #318ea7;
/* rgb */ color: rgb(49, 142, 167);
/* oklch */ color: oklch(60.3% 0.093 219.4);
Tailwind
colors: {
  custom: {
    50: '#79afc1',
    500: '#318ea7',
    950: '#000000',
  },
}
SCSS
$custom: #318ea7;
$custom-light: #79afc1;
$custom-dark: #000000;
JSON
{
  "hex": "#318ea7",
  "rgb": {
    "r": 49,
    "g": 142,
    "b": 167
  },
  "hsl": {
    "h": 192.712,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.60325,
    "c": 0.09279,
    "h": 219.4
  },
  "luminance": 0.22789
}

Semantic roles & 50–950 ramp

primary
#318EA7
secondary
#C18473
accent
#694ADE
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #318EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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