#316BB5#316BB5

#316BB5 is a mid, vivid cyan. Relative luminance 0.145; OKLCH L 52.7% C 0.132 H 255.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#316BB5
RGBrgb(49, 107, 181)
HSLhsl(214, 57%, 45%)
HSVhsv(214, 73%, 71%)
CMYKcmyk(72.9%, 40.9%, 0%, 29%)
CIE-LABlab(44.95, 6.67, -44.69)
CIE-LCHlch(44.95, 45.19, 278.49°)
OKLaboklab(52.7% -0.0323 -0.1276)
OKLCHoklch(52.7% 0.132 255.8)
XYZxyz(14.8617, 14.5029, 45.7232)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316BB5 #B57B31
analogous
#31ADB5 #316BB5 #3931B5
triadic
#316BB5 #B5316B #6BB531
tetradic
#316BB5 #B531AD #B57B31 #31B539
square
#316BB5 #B531AD #B57B31 #31B539
split-complementary
#316BB5 #B53931 #ADB531
monochromatic
#173255 #244F85 #316BB5 #538AD0 #83ABDD

Accessibility & contrast

On white

5.38
#316BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#316BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316BB5
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316BB5#FFFFFF#000000##FFFFFF
##316BB51.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4871B8
Deuteranopia (green-blind)
#3265B4
Tritanopia (blue-blind)
#007C87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #316bb5;
/* rgb */ color: rgb(49, 107, 181);
/* oklch */ color: oklch(52.7% 0.132 255.8);
Tailwind
colors: {
  custom: {
    50: '#7a94cb',
    500: '#316bb5',
    950: '#000000',
  },
}
SCSS
$custom: #316bb5;
$custom-light: #7a94cb;
$custom-dark: #000000;
JSON
{
  "hex": "#316bb5",
  "rgb": {
    "r": 49,
    "g": 107,
    "b": 181
  },
  "hsl": {
    "h": 213.636,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52702,
    "c": 0.1316,
    "h": 255.8
  },
  "luminance": 0.14505
}

Semantic roles & 50–950 ramp

primary
#316BB5
secondary
#C7A57B
accent
#9D47E1
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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