#318CB8#318CB8

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

Color values

HEX#318CB8
RGBrgb(49, 140, 184)
HSLhsl(200, 58%, 46%)
HSVhsv(200, 73%, 72%)
CMYKcmyk(73.4%, 23.9%, 0%, 27.8%)
CIE-LABlab(54.94, -11.91, -30.69)
CIE-LCHlch(54.94, 32.91, 248.79°)
OKLaboklab(60.62% -0.0633 -0.0863)
OKLCHoklch(60.62% 0.107 233.8)
XYZxyz(19.2930, 22.8676, 48.7352)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318CB8 #B85D31
analogous
#31B8A1 #318CB8 #3148B8
triadic
#318CB8 #B8318C #8CB831
tetradic
#318CB8 #A131B8 #B85D31 #48B831
square
#318CB8 #A131B8 #B85D31 #48B831
split-complementary
#318CB8 #B83148 #B8A131
monochromatic
#174257 #246788 #318CB8 #55A9D2 #85C1DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##318CB8#FFFFFF#000000##000000
##318CB81.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)
#768BBA
Deuteranopia (green-blind)
#647EB7
Tritanopia (blue-blind)
#00989B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #318cb8;
/* rgb */ color: rgb(49, 140, 184);
/* oklch */ color: oklch(60.6% 0.107 233.8);
Tailwind
colors: {
  custom: {
    50: '#7badcd',
    500: '#318cb8',
    950: '#000000',
  },
}
SCSS
$custom: #318cb8;
$custom-light: #7badcd;
$custom-dark: #000000;
JSON
{
  "hex": "#318cb8",
  "rgb": {
    "r": 49,
    "g": 140,
    "b": 184
  },
  "hsl": {
    "h": 199.556,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.60622,
    "c": 0.10707,
    "h": 233.8
  },
  "luminance": 0.2287
}

Semantic roles & 50–950 ramp

primary
#318CB8
secondary
#C8957D
accent
#7947E1
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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