#316ECF#316ECF

#316ECF is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.1% C 0.163 H 259.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#316ECF
RGBrgb(49, 110, 207)
HSLhsl(217, 62%, 50%)
HSVhsv(217, 76%, 81%)
CMYKcmyk(76.3%, 46.9%, 0%, 18.8%)
CIE-LABlab(47.38, 14.50, -55.80)
CIE-LCHlch(47.38, 57.65, 284.56°)
OKLaboklab(55.09% -0.0299 -0.1602)
OKLCHoklch(55.09% 0.163 259.4)
XYZxyz(18.1009, 16.3077, 61.2131)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316ECF #CF9231
analogous
#31BDCF #316ECF #4331CF
triadic
#316ECF #CF316E #6ECF31
tetradic
#316ECF #CF31BD #CF9231 #31CF43
square
#316ECF #CF31BD #CF9231 #31CF43
split-complementary
#316ECF #CF4331 #BDCF31
monochromatic
#19396C #25549E #316ECF #6391DB #94B4E6

Accessibility & contrast

On white

4.93
#316ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#316ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316ECF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316ECF#FFFFFF#000000##FFFFFF
##316ECF1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3978D3
Deuteranopia (green-blind)
#0B6ACD
Tritanopia (blue-blind)
#008594
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #316ecf;
/* rgb */ color: rgb(49, 110, 207);
/* oklch */ color: oklch(55.1% 0.163 259.4);
Tailwind
colors: {
  custom: {
    50: '#7f96de',
    500: '#316ecf',
    950: '#000000',
  },
}
SCSS
$custom: #316ecf;
$custom-light: #7f96de;
$custom-dark: #000000;
JSON
{
  "hex": "#316ecf",
  "rgb": {
    "r": 49,
    "g": 110,
    "b": 207
  },
  "hsl": {
    "h": 216.835,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55088,
    "c": 0.16294,
    "h": 259.4
  },
  "luminance": 0.1631
}

Semantic roles & 50–950 ramp

primary
#316ECF
secondary
#D1B68B
accent
#A643E5
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #316ECF

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

Preview Lab → · Contrast checker → · Palette generator →

#316ECF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva