#318AB1#318AB1

#318AB1 is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 59.8% C 0.101 H 231.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#318AB1
RGBrgb(49, 138, 177)
HSLhsl(198, 57%, 44%)
HSVhsv(198, 72%, 69%)
CMYKcmyk(72.3%, 22%, 0%, 30.6%)
CIE-LABlab(54.03, -13.20, -28.09)
CIE-LCHlch(54.03, 31.04, 244.84°)
OKLaboklab(59.8% -0.0638 -0.0789)
OKLCHoklch(59.8% 0.101 231)
XYZxyz(18.2877, 22.0022, 44.8695)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318AB1 #B15831
analogous
#31B198 #318AB1 #314AB1
triadic
#318AB1 #B1318A #8AB131
tetradic
#318AB1 #9831B1 #B15831 #4AB131
square
#318AB1 #9831B1 #B15831 #4AB131
split-complementary
#318AB1 #B1314A #B19831
monochromatic
#163F51 #246581 #318AB1 #51A8CF #80C0DC

Accessibility & contrast

On white

3.89
#318AB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#318AB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318AB1
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318AB1#FFFFFF#000000##000000
##318AB11.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7688B3
Deuteranopia (green-blind)
#657CB0
Tritanopia (blue-blind)
#009597
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #318ab1;
/* rgb */ color: rgb(49, 138, 177);
/* oklch */ color: oklch(59.8% 0.101 231.0);
Tailwind
colors: {
  custom: {
    50: '#7aacc8',
    500: '#318ab1',
    950: '#000000',
  },
}
SCSS
$custom: #318ab1;
$custom-light: #7aacc8;
$custom-dark: #000000;
JSON
{
  "hex": "#318ab1",
  "rgb": {
    "r": 49,
    "g": 138,
    "b": 177
  },
  "hsl": {
    "h": 198.281,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.598,
    "c": 0.10147,
    "h": 231
  },
  "luminance": 0.22004
}

Semantic roles & 50–950 ramp

primary
#318AB1
secondary
#C59079
accent
#7648E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #318AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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