#318EB4#318EB4

#318EB4 is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 60.9% C 0.103 H 229.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#318EB4
RGBrgb(49, 142, 180)
HSLhsl(197, 57%, 45%)
HSVhsv(197, 73%, 71%)
CMYKcmyk(72.8%, 21.1%, 0%, 29.4%)
CIE-LABlab(55.37, -14.39, -27.73)
CIE-LCHlch(55.37, 31.24, 242.57°)
OKLaboklab(60.91% -0.0667 -0.0778)
OKLCHoklch(60.91% 0.103 229.4)
XYZxyz(19.1745, 23.2920, 46.6564)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318EB4 #B45731
analogous
#31B499 #318EB4 #314CB4
triadic
#318EB4 #B4318E #8EB431
tetradic
#318EB4 #9931B4 #B45731 #4CB431
square
#318EB4 #9931B4 #B45731 #4CB431
split-complementary
#318EB4 #B4314C #B49931
monochromatic
#174254 #246884 #318EB4 #52ABD0 #82C3DD

Accessibility & contrast

On white

3.71
#318EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#318EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318EB4
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318EB4#FFFFFF#000000##000000
##318EB41.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8CB6
Deuteranopia (green-blind)
#697FB3
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #318eb4;
/* rgb */ color: rgb(49, 142, 180);
/* oklch */ color: oklch(60.9% 0.103 229.4);
Tailwind
colors: {
  custom: {
    50: '#7bafca',
    500: '#318eb4',
    950: '#000000',
  },
}
SCSS
$custom: #318eb4;
$custom-light: #7bafca;
$custom-dark: #000000;
JSON
{
  "hex": "#318eb4",
  "rgb": {
    "r": 49,
    "g": 142,
    "b": 180
  },
  "hsl": {
    "h": 197.405,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.60913,
    "c": 0.10251,
    "h": 229.4
  },
  "luminance": 0.23294
}

Semantic roles & 50–950 ramp

primary
#318EB4
secondary
#C6907B
accent
#7447E0
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #318EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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