#318AB4#318AB4

#318AB4 is a mid, moderate cyan. Relative luminance 0.221; OKLCH L 59.9% C 0.104 H 233.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#318AB4
RGBrgb(49, 138, 180)
HSLhsl(199, 57%, 45%)
HSVhsv(199, 73%, 71%)
CMYKcmyk(72.8%, 23.3%, 0%, 29.4%)
CIE-LABlab(54.16, -12.17, -29.61)
CIE-LCHlch(54.16, 32.01, 247.66°)
OKLaboklab(59.94% -0.0627 -0.0833)
OKLCHoklch(59.94% 0.104 233)
XYZxyz(18.5900, 22.1231, 46.4616)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318AB4 #B45B31
analogous
#31B49D #318AB4 #3148B4
triadic
#318AB4 #B4318A #8AB431
tetradic
#318AB4 #9D31B4 #B45B31 #48B431
square
#318AB4 #9D31B4 #B45B31 #48B431
split-complementary
#318AB4 #B43148 #B49D31
monochromatic
#174054 #246584 #318AB4 #52A8D0 #82C0DD

Accessibility & contrast

On white

3.87
#318AB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#318AB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318AB4
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318AB4#FFFFFF#000000##000000
##318AB41.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7589B6
Deuteranopia (green-blind)
#637CB3
Tritanopia (blue-blind)
#009598
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #318ab4;
/* rgb */ color: rgb(49, 138, 180);
/* oklch */ color: oklch(59.9% 0.104 233.0);
Tailwind
colors: {
  custom: {
    50: '#7bacca',
    500: '#318ab4',
    950: '#000000',
  },
}
SCSS
$custom: #318ab4;
$custom-light: #7bacca;
$custom-dark: #000000;
JSON
{
  "hex": "#318ab4",
  "rgb": {
    "r": 49,
    "g": 138,
    "b": 180
  },
  "hsl": {
    "h": 199.237,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.59944,
    "c": 0.10424,
    "h": 233
  },
  "luminance": 0.22125
}

Semantic roles & 50–950 ramp

primary
#318AB4
secondary
#C6937B
accent
#7847E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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