#318DB6#318DB6

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

Color values

HEX#318DB6
RGBrgb(49, 141, 182)
HSLhsl(198, 58%, 45%)
HSVhsv(198, 73%, 71%)
CMYKcmyk(73.1%, 22.5%, 0%, 28.6%)
CIE-LABlab(55.15, -13.16, -29.21)
CIE-LCHlch(55.15, 32.03, 245.75°)
OKLaboklab(60.77% -0.065 -0.0821)
OKLCHoklch(60.77% 0.105 231.6)
XYZxyz(19.2316, 23.0779, 47.6878)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318DB6 #B65A31
analogous
#31B69C #318DB6 #314BB6
triadic
#318DB6 #B6318D #8DB631
tetradic
#318DB6 #9C31B6 #B65A31 #4BB631
square
#318DB6 #9C31B6 #B65A31 #4BB631
split-complementary
#318DB6 #B6314B #B69C31
monochromatic
#174256 #246886 #318DB6 #53AAD1 #84C2DE

Accessibility & contrast

On white

3.74
#318DB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##318DB6#FFFFFF#000000##000000
##318DB61.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #318db6;
/* rgb */ color: rgb(49, 141, 182);
/* oklch */ color: oklch(60.8% 0.105 231.6);
Tailwind
colors: {
  custom: {
    50: '#7baecc',
    500: '#318db6',
    950: '#000000',
  },
}
SCSS
$custom: #318db6;
$custom-light: #7baecc;
$custom-dark: #000000;
JSON
{
  "hex": "#318db6",
  "rgb": {
    "r": 49,
    "g": 141,
    "b": 182
  },
  "hsl": {
    "h": 198.496,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.60766,
    "c": 0.1047,
    "h": 231.6
  },
  "luminance": 0.2308
}

Semantic roles & 50–950 ramp

primary
#318DB6
secondary
#C7937C
accent
#7647E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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