#318BB1#318BB1

#318BB1 is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.0% C 0.101 H 230.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#318BB1
RGBrgb(49, 139, 177)
HSLhsl(198, 57%, 44%)
HSVhsv(198, 72%, 69%)
CMYKcmyk(72.3%, 21.5%, 0%, 30.6%)
CIE-LABlab(54.33, -13.75, -27.62)
CIE-LCHlch(54.33, 30.85, 243.53°)
OKLaboklab(60.04% -0.0648 -0.0775)
OKLCHoklch(60.04% 0.101 230.1)
XYZxyz(18.4319, 22.2904, 44.9175)
Luminance0.2229 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318BB1 #B15731
analogous
#31B197 #318BB1 #314BB1
triadic
#318BB1 #B1318B #8BB131
tetradic
#318BB1 #9731B1 #B15731 #4BB131
square
#318BB1 #9731B1 #B15731 #4BB131
split-complementary
#318BB1 #B1314B #B19731
monochromatic
#164051 #246581 #318BB1 #51A9CF #80C1DC

Accessibility & contrast

On white

3.85
#318BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#318BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318BB1
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318BB1#FFFFFF#000000##000000
##318BB11.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7889B3
Deuteranopia (green-blind)
#667CB0
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #318bb1;
/* rgb */ color: rgb(49, 139, 177);
/* oklch */ color: oklch(60.0% 0.101 230.1);
Tailwind
colors: {
  custom: {
    50: '#7aadc8',
    500: '#318bb1',
    950: '#000000',
  },
}
SCSS
$custom: #318bb1;
$custom-light: #7aadc8;
$custom-dark: #000000;
JSON
{
  "hex": "#318bb1",
  "rgb": {
    "r": 49,
    "g": 139,
    "b": 177
  },
  "hsl": {
    "h": 197.813,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.60043,
    "c": 0.10105,
    "h": 230.1
  },
  "luminance": 0.22293
}

Semantic roles & 50–950 ramp

primary
#318BB1
secondary
#C58F79
accent
#7548E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #318BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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