#316BB4#316BB4

#316BB4 is a mid, vivid cyan. Relative luminance 0.145; OKLCH L 52.6% C 0.130 H 255.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#316BB4
RGBrgb(49, 107, 180)
HSLhsl(213, 57%, 45%)
HSVhsv(213, 73%, 71%)
CMYKcmyk(72.8%, 40.6%, 0%, 29.4%)
CIE-LABlab(44.89, 6.30, -44.20)
CIE-LCHlch(44.89, 44.65, 278.11°)
OKLaboklab(52.64% -0.0325 -0.1261)
OKLCHoklch(52.64% 0.13 255.6)
XYZxyz(14.7595, 14.4620, 45.1848)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316BB4 #B47A31
analogous
#31ADB4 #316BB4 #3931B4
triadic
#316BB4 #B4316B #6BB431
tetradic
#316BB4 #B431AD #B47A31 #31B439
square
#316BB4 #B431AD #B47A31 #31B439
split-complementary
#316BB4 #B43931 #ADB431
monochromatic
#173254 #244E84 #316BB4 #528AD0 #82ABDD

Accessibility & contrast

On white

5.39
#316BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#316BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316BB4
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316BB4#FFFFFF#000000##FFFFFF
##316BB41.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4971B7
Deuteranopia (green-blind)
#3465B3
Tritanopia (blue-blind)
#007C87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #316bb4;
/* rgb */ color: rgb(49, 107, 180);
/* oklch */ color: oklch(52.6% 0.130 255.6);
Tailwind
colors: {
  custom: {
    50: '#7a94cb',
    500: '#316bb4',
    950: '#000000',
  },
}
SCSS
$custom: #316bb4;
$custom-light: #7a94cb;
$custom-dark: #000000;
JSON
{
  "hex": "#316bb4",
  "rgb": {
    "r": 49,
    "g": 107,
    "b": 180
  },
  "hsl": {
    "h": 213.435,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52639,
    "c": 0.13025,
    "h": 255.6
  },
  "luminance": 0.14464
}

Semantic roles & 50–950 ramp

primary
#316BB4
secondary
#C6A57B
accent
#9D47E0
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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