#318AA4#318AA4

#318AA4 is a mid, moderate cyan. Relative luminance 0.215; OKLCH L 59.2% C 0.091 H 221.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#318AA4
RGBrgb(49, 138, 164)
HSLhsl(194, 54%, 42%)
HSVhsv(194, 70%, 64%)
CMYKcmyk(70.1%, 15.9%, 0%, 35.7%)
CIE-LABlab(53.50, -17.57, -21.43)
CIE-LCHlch(53.50, 27.71, 230.66°)
OKLaboklab(59.2% -0.0688 -0.0598)
OKLCHoklch(59.2% 0.091 221)
XYZxyz(17.0532, 21.5083, 38.3675)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318AA4 #A44B31
analogous
#31A485 #318AA4 #3151A4
triadic
#318AA4 #A4318A #8AA431
tetradic
#318AA4 #8531A4 #A44B31 #51A431
square
#318AA4 #8531A4 #A44B31 #51A431
split-complementary
#318AA4 #A43151 #A48531
monochromatic
#153B46 #236275 #318AA4 #49ACC9 #79C2D7

Accessibility & contrast

On white

3.96
#318AA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#318AA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318AA4
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318AA4#FFFFFF#000000##000000
##318AA41.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A86A5
Deuteranopia (green-blind)
#6A7BA4
Tritanopia (blue-blind)
#009292
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #318aa4;
/* rgb */ color: rgb(49, 138, 164);
/* oklch */ color: oklch(59.2% 0.091 221.0);
Tailwind
colors: {
  custom: {
    50: '#78acbf',
    500: '#318aa4',
    950: '#000000',
  },
}
SCSS
$custom: #318aa4;
$custom-light: #78acbf;
$custom-dark: #000000;
JSON
{
  "hex": "#318aa4",
  "rgb": {
    "r": 49,
    "g": 138,
    "b": 164
  },
  "hsl": {
    "h": 193.565,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.59203,
    "c": 0.09116,
    "h": 221
  },
  "luminance": 0.2151
}

Semantic roles & 50–950 ramp

primary
#318AA4
secondary
#BF8372
accent
#6C4ADD
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #318AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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