#318CB4#318CB4

#318CB4 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.4% C 0.103 H 231.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#318CB4
RGBrgb(49, 140, 180)
HSLhsl(198, 57%, 45%)
HSVhsv(198, 73%, 71%)
CMYKcmyk(72.8%, 22.2%, 0%, 29.4%)
CIE-LABlab(54.76, -13.28, -28.67)
CIE-LCHlch(54.76, 31.60, 245.14°)
OKLaboklab(60.43% -0.0647 -0.0805)
OKLCHoklch(60.43% 0.103 231.2)
XYZxyz(18.8796, 22.7023, 46.5581)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318CB4 #B45931
analogous
#31B49B #318CB4 #314AB4
triadic
#318CB4 #B4318C #8CB431
tetradic
#318CB4 #9B31B4 #B45931 #4AB431
square
#318CB4 #9B31B4 #B45931 #4AB431
split-complementary
#318CB4 #B4314A #B49B31
monochromatic
#174154 #246784 #318CB4 #52AAD0 #82C1DD

Accessibility & contrast

On white

3.79
#318CB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#318CB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318CB4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318CB4#FFFFFF#000000##000000
##318CB41.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#788AB6
Deuteranopia (green-blind)
#667DB3
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #318cb4;
/* rgb */ color: rgb(49, 140, 180);
/* oklch */ color: oklch(60.4% 0.103 231.2);
Tailwind
colors: {
  custom: {
    50: '#7badca',
    500: '#318cb4',
    950: '#000000',
  },
}
SCSS
$custom: #318cb4;
$custom-light: #7badca;
$custom-dark: #000000;
JSON
{
  "hex": "#318cb4",
  "rgb": {
    "r": 49,
    "g": 140,
    "b": 180
  },
  "hsl": {
    "h": 198.321,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.60428,
    "c": 0.10332,
    "h": 231.2
  },
  "luminance": 0.22704
}

Semantic roles & 50–950 ramp

primary
#318CB4
secondary
#C6927B
accent
#7647E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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