#318DB1#318DB1

#318DB1 is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.5% C 0.100 H 228.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#318DB1
RGBrgb(49, 141, 177)
HSLhsl(197, 57%, 44%)
HSVhsv(197, 72%, 69%)
CMYKcmyk(72.3%, 20.3%, 0%, 30.6%)
CIE-LABlab(54.94, -14.86, -26.68)
CIE-LCHlch(54.94, 30.53, 240.88°)
OKLaboklab(60.53% -0.0668 -0.0748)
OKLCHoklch(60.53% 0.1 228.2)
XYZxyz(18.7241, 22.8749, 45.0149)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318DB1 #B15531
analogous
#31B195 #318DB1 #314DB1
triadic
#318DB1 #B1318D #8DB131
tetradic
#318DB1 #9531B1 #B15531 #4DB131
square
#318DB1 #9531B1 #B15531 #4DB131
split-complementary
#318DB1 #B1314D #B19531
monochromatic
#164151 #246781 #318DB1 #51ABCF #80C2DC

Accessibility & contrast

On white

3.77
#318DB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#318DB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318DB1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318DB1#FFFFFF#000000##000000
##318DB11.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8BB3
Deuteranopia (green-blind)
#697EB1
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #318db1;
/* rgb */ color: rgb(49, 141, 177);
/* oklch */ color: oklch(60.5% 0.100 228.2);
Tailwind
colors: {
  custom: {
    50: '#7aaec8',
    500: '#318db1',
    950: '#000000',
  },
}
SCSS
$custom: #318db1;
$custom-light: #7aaec8;
$custom-dark: #000000;
JSON
{
  "hex": "#318db1",
  "rgb": {
    "r": 49,
    "g": 141,
    "b": 177
  },
  "hsl": {
    "h": 196.875,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.6053,
    "c": 0.10031,
    "h": 228.2
  },
  "luminance": 0.22877
}

Semantic roles & 50–950 ramp

primary
#318DB1
secondary
#C58E79
accent
#7348E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #318DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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