#316BB3#316BB3

#316BB3 is a mid, vivid cyan. Relative luminance 0.144; OKLCH L 52.6% C 0.129 H 255.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#316BB3
RGBrgb(49, 107, 179)
HSLhsl(213, 57%, 45%)
HSVhsv(213, 73%, 70%)
CMYKcmyk(72.6%, 40.2%, 0%, 29.8%)
CIE-LABlab(44.83, 5.93, -43.71)
CIE-LCHlch(44.83, 44.11, 277.72°)
OKLaboklab(52.58% -0.0327 -0.1247)
OKLCHoklch(52.58% 0.129 255.3)
XYZxyz(14.6580, 14.4214, 44.6502)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316BB3 #B37931
analogous
#31ACB3 #316BB3 #3831B3
triadic
#316BB3 #B3316B #6BB331
tetradic
#316BB3 #B331AC #B37931 #31B338
square
#316BB3 #B331AC #B37931 #31B338
split-complementary
#316BB3 #B33831 #ACB331
monochromatic
#173253 #244E83 #316BB3 #528AD0 #82AADD

Accessibility & contrast

On white

5.41
#316BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #316BB3
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316BB3#FFFFFF#000000##FFFFFF
##316BB31.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4971B6
Deuteranopia (green-blind)
#3565B2
Tritanopia (blue-blind)
#007C86
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #316bb3;
/* rgb */ color: rgb(49, 107, 179);
/* oklch */ color: oklch(52.6% 0.129 255.3);
Tailwind
colors: {
  custom: {
    50: '#7a94ca',
    500: '#316bb3',
    950: '#000000',
  },
}
SCSS
$custom: #316bb3;
$custom-light: #7a94ca;
$custom-dark: #000000;
JSON
{
  "hex": "#316bb3",
  "rgb": {
    "r": 49,
    "g": 107,
    "b": 179
  },
  "hsl": {
    "h": 213.231,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52576,
    "c": 0.12892,
    "h": 255.3
  },
  "luminance": 0.14423
}

Semantic roles & 50–950 ramp

primary
#316BB3
secondary
#C6A47A
accent
#9C48E0
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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