#316FA2#316FA2

#316FA2 is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.5% C 0.103 H 246.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#316FA2
RGBrgb(49, 111, 162)
HSLhsl(207, 54%, 41%)
HSVhsv(207, 70%, 64%)
CMYKcmyk(69.8%, 31.5%, 0%, 36.5%)
CIE-LABlab(45.12, -2.77, -33.28)
CIE-LCHlch(45.12, 33.40, 265.24°)
OKLaboklab(52.51% -0.0413 -0.0942)
OKLCHoklch(52.51% 0.103 246.3)
XYZxyz(13.4702, 14.6290, 36.2892)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316FA2 #A26431
analogous
#31A29D #316FA2 #3136A2
triadic
#316FA2 #A2316F #6FA231
tetradic
#316FA2 #9D31A2 #A26431 #36A231
square
#316FA2 #9D31A2 #A26431 #36A231
split-complementary
#316FA2 #A23136 #A29D31
monochromatic
#152F44 #234F73 #316FA2 #488EC8 #77ABD6

Accessibility & contrast

On white

5.35
#316FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#316FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316FA2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316FA2#FFFFFF#000000##FFFFFF
##316FA21.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5871A4
Deuteranopia (green-blind)
#4966A1
Tritanopia (blue-blind)
#007B81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #316fa2;
/* rgb */ color: rgb(49, 111, 162);
/* oklch */ color: oklch(52.5% 0.103 246.3);
Tailwind
colors: {
  custom: {
    50: '#7698be',
    500: '#316fa2',
    950: '#000000',
  },
}
SCSS
$custom: #316fa2;
$custom-light: #7698be;
$custom-dark: #000000;
JSON
{
  "hex": "#316fa2",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 162
  },
  "hsl": {
    "h": 207.08,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52508,
    "c": 0.1028,
    "h": 246.3
  },
  "luminance": 0.1463
}

Semantic roles & 50–950 ramp

primary
#316FA2
secondary
#BE9471
accent
#8D4BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #316FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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