#316CB3#316CB3

#316CB3 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.8% C 0.128 H 254.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#316CB3
RGBrgb(49, 108, 179)
HSLhsl(213, 57%, 45%)
HSVhsv(213, 73%, 70%)
CMYKcmyk(72.6%, 39.7%, 0%, 29.8%)
CIE-LABlab(45.12, 5.30, -43.24)
CIE-LCHlch(45.12, 43.56, 276.99°)
OKLaboklab(52.8% -0.0336 -0.1233)
OKLCHoklch(52.8% 0.128 254.7)
XYZxyz(14.7629, 14.6311, 44.6851)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316CB3 #B37831
analogous
#31ADB3 #316CB3 #3731B3
triadic
#316CB3 #B3316C #6CB331
tetradic
#316CB3 #B331AD #B37831 #31B337
square
#316CB3 #B331AD #B37831 #31B337
split-complementary
#316CB3 #B33731 #ADB331
monochromatic
#173253 #244F83 #316CB3 #528BD0 #82ABDD

Accessibility & contrast

On white

5.35
#316CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#316CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316CB3
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316CB3#FFFFFF#000000##FFFFFF
##316CB31.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B6
Deuteranopia (green-blind)
#3765B2
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #316cb3;
/* rgb */ color: rgb(49, 108, 179);
/* oklch */ color: oklch(52.8% 0.128 254.7);
Tailwind
colors: {
  custom: {
    50: '#7a95ca',
    500: '#316cb3',
    950: '#000000',
  },
}
SCSS
$custom: #316cb3;
$custom-light: #7a95ca;
$custom-dark: #000000;
JSON
{
  "hex": "#316cb3",
  "rgb": {
    "r": 49,
    "g": 108,
    "b": 179
  },
  "hsl": {
    "h": 212.769,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52804,
    "c": 0.12782,
    "h": 254.7
  },
  "luminance": 0.14633
}

Semantic roles & 50–950 ramp

primary
#316CB3
secondary
#C6A37A
accent
#9B48E0
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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