#318EB6#318EB6

#318EB6 is a mid, moderate cyan. Relative luminance 0.234; OKLCH L 61.0% C 0.104 H 230.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#318EB6
RGBrgb(49, 142, 182)
HSLhsl(198, 58%, 45%)
HSVhsv(198, 73%, 71%)
CMYKcmyk(73.1%, 22%, 0%, 28.6%)
CIE-LABlab(55.46, -13.71, -28.74)
CIE-LCHlch(55.46, 31.84, 244.49°)
OKLaboklab(61.01% -0.066 -0.0807)
OKLCHoklch(61.01% 0.104 230.7)
XYZxyz(19.3797, 23.3741, 47.7372)
Luminance0.2338 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318EB6 #B65931
analogous
#31B69B #318EB6 #314BB6
triadic
#318EB6 #B6318E #8EB631
tetradic
#318EB6 #9B31B6 #B65931 #4BB631
square
#318EB6 #9B31B6 #B65931 #4BB631
split-complementary
#318EB6 #B6314B #B69B31
monochromatic
#174356 #246886 #318EB6 #53ABD1 #84C3DE

Accessibility & contrast

On white

3.70
#318EB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#318EB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318EB6
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318EB6#FFFFFF#000000##000000
##318EB61.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8CB8
Deuteranopia (green-blind)
#687FB5
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #318eb6;
/* rgb */ color: rgb(49, 142, 182);
/* oklch */ color: oklch(61.0% 0.104 230.7);
Tailwind
colors: {
  custom: {
    50: '#7bafcc',
    500: '#318eb6',
    950: '#000000',
  },
}
SCSS
$custom: #318eb6;
$custom-light: #7bafcc;
$custom-dark: #000000;
JSON
{
  "hex": "#318eb6",
  "rgb": {
    "r": 49,
    "g": 142,
    "b": 182
  },
  "hsl": {
    "h": 198.045,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.61008,
    "c": 0.10427,
    "h": 230.7
  },
  "luminance": 0.23376
}

Semantic roles & 50–950 ramp

primary
#318EB6
secondary
#C7927C
accent
#7547E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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