#316BB2#316BB2

#316BB2 is a mid, vivid cyan. Relative luminance 0.144; OKLCH L 52.5% C 0.128 H 255.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#316BB2
RGBrgb(49, 107, 178)
HSLhsl(213, 57%, 45%)
HSVhsv(213, 72%, 70%)
CMYKcmyk(72.5%, 39.9%, 0%, 30.2%)
CIE-LABlab(44.77, 5.56, -43.21)
CIE-LCHlch(44.77, 43.57, 277.33°)
OKLaboklab(52.51% -0.0329 -0.1232)
OKLCHoklch(52.51% 0.128 255)
XYZxyz(14.5572, 14.3811, 44.1195)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316BB2 #B27831
analogous
#31ACB2 #316BB2 #3731B2
triadic
#316BB2 #B2316B #6BB231
tetradic
#316BB2 #B231AC #B27831 #31B237
square
#316BB2 #B231AC #B27831 #31B237
split-complementary
#316BB2 #B23731 #ACB231
monochromatic
#173152 #244E82 #316BB2 #518ACF #81AADC

Accessibility & contrast

On white

5.42
#316BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#316BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316BB2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316BB2#FFFFFF#000000##FFFFFF
##316BB21.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B5
Deuteranopia (green-blind)
#3664B1
Tritanopia (blue-blind)
#007C86
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #316bb2;
/* rgb */ color: rgb(49, 107, 178);
/* oklch */ color: oklch(52.5% 0.128 255.0);
Tailwind
colors: {
  custom: {
    50: '#7994c9',
    500: '#316bb2',
    950: '#000000',
  },
}
SCSS
$custom: #316bb2;
$custom-light: #7994c9;
$custom-dark: #000000;
JSON
{
  "hex": "#316bb2",
  "rgb": {
    "r": 49,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 213.023,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52513,
    "c": 0.12758,
    "h": 255
  },
  "luminance": 0.14383
}

Semantic roles & 50–950 ramp

primary
#316BB2
secondary
#C5A379
accent
#9C48E0
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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