#316FB2#316FB2

#316FB2 is a mid, vivid cyan. Relative luminance 0.152; OKLCH L 53.4% C 0.123 H 252.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#316FB2
RGBrgb(49, 111, 178)
HSLhsl(211, 57%, 45%)
HSVhsv(211, 72%, 70%)
CMYKcmyk(72.5%, 37.6%, 0%, 30.2%)
CIE-LABlab(45.95, 3.06, -41.34)
CIE-LCHlch(45.95, 41.45, 274.24°)
OKLaboklab(53.43% -0.0368 -0.1177)
OKLCHoklch(53.43% 0.123 252.7)
XYZxyz(14.9840, 15.2346, 44.2617)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316FB2 #B27431
analogous
#31B0B2 #316FB2 #3431B2
triadic
#316FB2 #B2316F #6FB231
tetradic
#316FB2 #B231B0 #B27431 #31B234
square
#316FB2 #B231B0 #B27431 #31B234
split-complementary
#316FB2 #B23431 #B0B231
monochromatic
#173352 #245182 #316FB2 #518ECF #81ADDC

Accessibility & contrast

On white

5.19
#316FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#316FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316FB2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316FB2#FFFFFF#000000##FFFFFF
##316FB21.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5073B5
Deuteranopia (green-blind)
#3D67B1
Tritanopia (blue-blind)
#007F88
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #316fb2;
/* rgb */ color: rgb(49, 111, 178);
/* oklch */ color: oklch(53.4% 0.123 252.7);
Tailwind
colors: {
  custom: {
    50: '#7997c9',
    500: '#316fb2',
    950: '#000000',
  },
}
SCSS
$custom: #316fb2;
$custom-light: #7997c9;
$custom-dark: #000000;
JSON
{
  "hex": "#316fb2",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 178
  },
  "hsl": {
    "h": 211.163,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53433,
    "c": 0.1233,
    "h": 252.7
  },
  "luminance": 0.15236
}

Semantic roles & 50–950 ramp

primary
#316FB2
secondary
#C5A179
accent
#9748E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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