#318EB8#318EB8

#318EB8 is a mid, moderate cyan. Relative luminance 0.235; OKLCH L 61.1% C 0.106 H 232.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#318EB8
RGBrgb(49, 142, 184)
HSLhsl(199, 58%, 46%)
HSVhsv(199, 73%, 72%)
CMYKcmyk(73.4%, 22.8%, 0%, 27.8%)
CIE-LABlab(55.54, -13.03, -29.75)
CIE-LCHlch(55.54, 32.47, 246.35°)
OKLaboklab(61.1% -0.0653 -0.0836)
OKLCHoklch(61.1% 0.106 232)
XYZxyz(19.5879, 23.4574, 48.8335)
Luminance0.2346 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318EB8 #B85B31
analogous
#31B89E #318EB8 #314AB8
triadic
#318EB8 #B8318E #8EB831
tetradic
#318EB8 #9E31B8 #B85B31 #4AB831
square
#318EB8 #9E31B8 #B85B31 #4AB831
split-complementary
#318EB8 #B8314A #B89E31
monochromatic
#174357 #246988 #318EB8 #55ABD2 #85C3DE

Accessibility & contrast

On white

3.69
#318EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#318EB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318EB8
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318EB8#FFFFFF#000000##000000
##318EB81.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#798CBA
Deuteranopia (green-blind)
#677FB7
Tritanopia (blue-blind)
#00999C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #318eb8;
/* rgb */ color: rgb(49, 142, 184);
/* oklch */ color: oklch(61.1% 0.106 232.0);
Tailwind
colors: {
  custom: {
    50: '#7bafcd',
    500: '#318eb8',
    950: '#000000',
  },
}
SCSS
$custom: #318eb8;
$custom-light: #7bafcd;
$custom-dark: #000000;
JSON
{
  "hex": "#318eb8",
  "rgb": {
    "r": 49,
    "g": 142,
    "b": 184
  },
  "hsl": {
    "h": 198.667,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.61103,
    "c": 0.10608,
    "h": 232
  },
  "luminance": 0.2346
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #318EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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