#316BBB#316BBB

#316BBB is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 53.1% C 0.140 H 257.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#316BBB
RGBrgb(49, 107, 187)
HSLhsl(215, 58%, 46%)
HSVhsv(215, 74%, 73%)
CMYKcmyk(73.8%, 42.8%, 0%, 26.7%)
CIE-LABlab(45.30, 8.91, -47.62)
CIE-LCHlch(45.30, 48.45, 280.60°)
OKLaboklab(53.09% -0.031 -0.1362)
OKLCHoklch(53.09% 0.14 257.2)
XYZxyz(15.4907, 14.7545, 49.0356)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316BBB #BB8131
analogous
#31B0BB #316BBB #3C31BB
triadic
#316BBB #BB316B #6BBB31
tetradic
#316BBB #BB31B0 #BB8131 #31BB3C
square
#316BBB #BB31B0 #BB8131 #31BB3C
split-complementary
#316BBB #BB3C31 #B0BB31
monochromatic
#18345A #244F8B #316BBB #568BD3 #87ACE0

Accessibility & contrast

On white

5.31
#316BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#316BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316BBB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316BBB#FFFFFF#000000##FFFFFF
##316BBB1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4472BE
Deuteranopia (green-blind)
#2B65B9
Tritanopia (blue-blind)
#007E8A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #316bbb;
/* rgb */ color: rgb(49, 107, 187);
/* oklch */ color: oklch(53.1% 0.140 257.2);
Tailwind
colors: {
  custom: {
    50: '#7b94d0',
    500: '#316bbb',
    950: '#000000',
  },
}
SCSS
$custom: #316bbb;
$custom-light: #7b94d0;
$custom-dark: #000000;
JSON
{
  "hex": "#316bbb",
  "rgb": {
    "r": 49,
    "g": 107,
    "b": 187
  },
  "hsl": {
    "h": 214.783,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53087,
    "c": 0.13965,
    "h": 257.2
  },
  "luminance": 0.14756
}

Semantic roles & 50–950 ramp

primary
#316BBB
secondary
#C9AA7F
accent
#A046E2
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #316BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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