#318CB5#318CB5

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

Color values

HEX#318CB5
RGBrgb(49, 140, 181)
HSLhsl(199, 57%, 45%)
HSVhsv(199, 73%, 71%)
CMYKcmyk(72.9%, 22.7%, 0%, 29%)
CIE-LABlab(54.81, -12.94, -29.17)
CIE-LCHlch(54.81, 31.91, 246.08°)
OKLaboklab(60.48% -0.0644 -0.082)
OKLCHoklch(60.48% 0.104 231.9)
XYZxyz(18.9819, 22.7431, 47.0966)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318CB5 #B55A31
analogous
#31B59C #318CB5 #314AB5
triadic
#318CB5 #B5318C #8CB531
tetradic
#318CB5 #9C31B5 #B55A31 #4AB531
square
#318CB5 #9C31B5 #B55A31 #4AB531
split-complementary
#318CB5 #B5314A #B59C31
monochromatic
#174155 #246785 #318CB5 #53A9D0 #83C1DD

Accessibility & contrast

On white

3.78
#318CB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##318CB5#FFFFFF#000000##000000
##318CB51.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#778AB7
Deuteranopia (green-blind)
#667EB4
Tritanopia (blue-blind)
#00979A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #318cb5;
/* rgb */ color: rgb(49, 140, 181);
/* oklch */ color: oklch(60.5% 0.104 231.9);
Tailwind
colors: {
  custom: {
    50: '#7badcb',
    500: '#318cb5',
    950: '#000000',
  },
}
SCSS
$custom: #318cb5;
$custom-light: #7badcb;
$custom-dark: #000000;
JSON
{
  "hex": "#318cb5",
  "rgb": {
    "r": 49,
    "g": 140,
    "b": 181
  },
  "hsl": {
    "h": 198.636,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.60476,
    "c": 0.10424,
    "h": 231.9
  },
  "luminance": 0.22745
}

Semantic roles & 50–950 ramp

primary
#318CB5
secondary
#C7937B
accent
#7747E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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