#318AC2#318AC2

#318AC2 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.7% C 0.119 H 240.7°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#318AC2
RGBrgb(49, 138, 194)
HSLhsl(203, 60%, 48%)
HSVhsv(203, 75%, 76%)
CMYKcmyk(74.7%, 28.9%, 0%, 23.9%)
CIE-LABlab(54.79, -7.27, -36.61)
CIE-LCHlch(54.79, 37.33, 258.76°)
OKLaboklab(60.65% -0.058 -0.1035)
OKLCHoklch(60.65% 0.119 240.7)
XYZxyz(20.0889, 22.7226, 54.3556)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318AC2 #C26931
analogous
#31C2B1 #318AC2 #3142C2
triadic
#318AC2 #C2318A #8AC231
tetradic
#318AC2 #B131C2 #C26931 #42C231
square
#318AC2 #B131C2 #C26931 #42C231
split-complementary
#318AC2 #C23142 #C2B131
monochromatic
#184460 #256791 #318AC2 #5BA6D6 #8CC1E2

Accessibility & contrast

On white

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

On black

5.55
#318AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318AC2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318AC2#FFFFFF#000000##000000
##318AC21.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#708BC5
Deuteranopia (green-blind)
#5C7DC1
Tritanopia (blue-blind)
#00989E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #318ac2;
/* rgb */ color: rgb(49, 138, 194);
/* oklch */ color: oklch(60.7% 0.119 240.7);
Tailwind
colors: {
  custom: {
    50: '#7dacd4',
    500: '#318ac2',
    950: '#000000',
  },
}
SCSS
$custom: #318ac2;
$custom-light: #7dacd4;
$custom-dark: #000000;
JSON
{
  "hex": "#318ac2",
  "rgb": {
    "r": 49,
    "g": 138,
    "b": 194
  },
  "hsl": {
    "h": 203.172,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.6065,
    "c": 0.11867,
    "h": 240.7
  },
  "luminance": 0.22725
}

Semantic roles & 50–950 ramp

primary
#318AC2
secondary
#CC9F83
accent
#8245E3
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #318AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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