#318AA2#318AA2

#318AA2 is a mid, moderate cyan. Relative luminance 0.214; OKLCH L 59.1% C 0.090 H 219.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#318AA2
RGBrgb(49, 138, 162)
HSLhsl(193, 54%, 41%)
HSVhsv(193, 70%, 64%)
CMYKcmyk(69.8%, 14.8%, 0%, 36.5%)
CIE-LABlab(53.42, -18.23, -20.40)
CIE-LCHlch(53.42, 27.36, 228.22°)
OKLaboklab(59.12% -0.0696 -0.0569)
OKLCHoklch(59.12% 0.09 219.3)
XYZxyz(16.8740, 21.4367, 37.4238)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318AA2 #A24931
analogous
#31A282 #318AA2 #3152A2
triadic
#318AA2 #A2318A #8AA231
tetradic
#318AA2 #8231A2 #A24931 #52A231
square
#318AA2 #8231A2 #A24931 #52A231
split-complementary
#318AA2 #A23152 #A28231
monochromatic
#153A44 #236273 #318AA2 #48ADC8 #77C2D6

Accessibility & contrast

On white

3.97
#318AA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#318AA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318AA2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318AA2#FFFFFF#000000##000000
##318AA21.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #318aa2;
/* rgb */ color: rgb(49, 138, 162);
/* oklch */ color: oklch(59.1% 0.090 219.3);
Tailwind
colors: {
  custom: {
    50: '#78acbd',
    500: '#318aa2',
    950: '#000000',
  },
}
SCSS
$custom: #318aa2;
$custom-light: #78acbd;
$custom-dark: #000000;
JSON
{
  "hex": "#318aa2",
  "rgb": {
    "r": 49,
    "g": 138,
    "b": 162
  },
  "hsl": {
    "h": 192.743,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.59116,
    "c": 0.08988,
    "h": 219.3
  },
  "luminance": 0.21439
}

Semantic roles & 50–950 ramp

primary
#318AA2
secondary
#BE8171
accent
#6A4BDD
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #318AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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