#318DB7#318DB7

#318DB7 is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 60.8% C 0.106 H 232.3°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#318DB7
RGBrgb(49, 141, 183)
HSLhsl(199, 58%, 45%)
HSVhsv(199, 73%, 72%)
CMYKcmyk(73.2%, 23%, 0%, 28.2%)
CIE-LABlab(55.20, -12.81, -29.71)
CIE-LCHlch(55.20, 32.36, 246.67°)
OKLaboklab(60.81% -0.0646 -0.0835)
OKLCHoklch(60.81% 0.106 232.3)
XYZxyz(19.3353, 23.1194, 48.2340)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318DB7 #B75B31
analogous
#31B79E #318DB7 #314AB7
triadic
#318DB7 #B7318D #8DB731
tetradic
#318DB7 #9E31B7 #B75B31 #4AB731
square
#318DB7 #9E31B7 #B75B31 #4AB731
split-complementary
#318DB7 #B7314A #B79E31
monochromatic
#174356 #246887 #318DB7 #54AAD1 #84C2DE

Accessibility & contrast

On white

3.73
#318DB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#318DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318DB7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318DB7#FFFFFF#000000##000000
##318DB71.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#788BB9
Deuteranopia (green-blind)
#667EB6
Tritanopia (blue-blind)
#00989B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #318db7;
/* rgb */ color: rgb(49, 141, 183);
/* oklch */ color: oklch(60.8% 0.106 232.3);
Tailwind
colors: {
  custom: {
    50: '#7baecc',
    500: '#318db7',
    950: '#000000',
  },
}
SCSS
$custom: #318db7;
$custom-light: #7baecc;
$custom-dark: #000000;
JSON
{
  "hex": "#318db7",
  "rgb": {
    "r": 49,
    "g": 141,
    "b": 183
  },
  "hsl": {
    "h": 198.806,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.60814,
    "c": 0.10562,
    "h": 232.3
  },
  "luminance": 0.23122
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #318DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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