#318AAA#318AAA

#318AAA is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 59.5% C 0.096 H 225.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#318AAA
RGBrgb(49, 138, 170)
HSLhsl(196, 55%, 43%)
HSVhsv(196, 71%, 67%)
CMYKcmyk(71.2%, 18.8%, 0%, 33.3%)
CIE-LABlab(53.74, -15.57, -24.52)
CIE-LCHlch(53.74, 29.05, 237.59°)
OKLaboklab(59.47% -0.0664 -0.0686)
OKLCHoklch(59.47% 0.096 225.9)
XYZxyz(17.6079, 21.7302, 41.2888)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318AAA #AA5131
analogous
#31AA8D #318AAA #314DAA
triadic
#318AAA #AA318A #8AAA31
tetradic
#318AAA #8D31AA #AA5131 #4DAA31
square
#318AAA #8D31AA #AA5131 #4DAA31
split-complementary
#318AAA #AA314D #AA8D31
monochromatic
#163D4B #23637A #318AAA #4DAACC #7CC1D9

Accessibility & contrast

On white

3.93
#318AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#318AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318AAA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318AAA#FFFFFF#000000##000000
##318AAA1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7987AC
Deuteranopia (green-blind)
#687BAA
Tritanopia (blue-blind)
#009394
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #318aaa;
/* rgb */ color: rgb(49, 138, 170);
/* oklch */ color: oklch(59.5% 0.096 225.9);
Tailwind
colors: {
  custom: {
    50: '#79acc3',
    500: '#318aaa',
    950: '#000000',
  },
}
SCSS
$custom: #318aaa;
$custom-light: #79acc3;
$custom-dark: #000000;
JSON
{
  "hex": "#318aaa",
  "rgb": {
    "r": 49,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 195.868,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.59473,
    "c": 0.09553,
    "h": 225.9
  },
  "luminance": 0.21732
}

Semantic roles & 50–950 ramp

primary
#318AAA
secondary
#C28975
accent
#7149DF
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #318AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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