#318CB7#318CB7

#318CB7 is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.6% C 0.106 H 233.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#318CB7
RGBrgb(49, 140, 183)
HSLhsl(199, 58%, 45%)
HSVhsv(199, 73%, 72%)
CMYKcmyk(73.2%, 23.5%, 0%, 28.2%)
CIE-LABlab(54.89, -12.25, -30.18)
CIE-LCHlch(54.89, 32.57, 247.90°)
OKLaboklab(60.57% -0.0636 -0.0849)
OKLCHoklch(60.57% 0.106 233.1)
XYZxyz(19.1885, 22.8258, 48.1851)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318CB7 #B75C31
analogous
#31B79F #318CB7 #3149B7
triadic
#318CB7 #B7318C #8CB731
tetradic
#318CB7 #9F31B7 #B75C31 #49B731
square
#318CB7 #9F31B7 #B75C31 #49B731
split-complementary
#318CB7 #B73149 #B79F31
monochromatic
#174256 #246787 #318CB7 #54A9D1 #84C1DE

Accessibility & contrast

On white

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

On black

5.57
#318CB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318CB7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318CB7#FFFFFF#000000##000000
##318CB71.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#778BB9
Deuteranopia (green-blind)
#657EB6
Tritanopia (blue-blind)
#00979A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #318cb7;
/* rgb */ color: rgb(49, 140, 183);
/* oklch */ color: oklch(60.6% 0.106 233.1);
Tailwind
colors: {
  custom: {
    50: '#7badcc',
    500: '#318cb7',
    950: '#000000',
  },
}
SCSS
$custom: #318cb7;
$custom-light: #7badcc;
$custom-dark: #000000;
JSON
{
  "hex": "#318cb7",
  "rgb": {
    "r": 49,
    "g": 140,
    "b": 183
  },
  "hsl": {
    "h": 199.254,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.60573,
    "c": 0.10611,
    "h": 233.1
  },
  "luminance": 0.22828
}

Semantic roles & 50–950 ramp

primary
#318CB7
secondary
#C8947C
accent
#7847E1
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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