#316397#316397

#316397 is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 49.0% C 0.100 H 251.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#316397
RGBrgb(49, 99, 151)
HSLhsl(211, 51%, 39%)
HSVhsv(211, 68%, 59%)
CMYKcmyk(67.5%, 34.4%, 0%, 40.8%)
CIE-LABlab(40.91, 0.63, -33.38)
CIE-LCHlch(40.91, 33.39, 271.09°)
OKLaboklab(49.02% -0.0319 -0.0946)
OKLCHoklch(49.02% 0.1 251.4)
XYZxyz(11.3123, 11.8099, 30.9555)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316397 #976531
analogous
#319697 #316397 #323197
triadic
#316397 #973163 #639731
tetradic
#316397 #973196 #976531 #319732
square
#316397 #973196 #976531 #319732
split-complementary
#316397 #973231 #969731
monochromatic
#13263B #224569 #316397 #4381C2 #71A0D1

Accessibility & contrast

On white

6.25
#316397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#316397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316397
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316397#FFFFFF#000000##FFFFFF
##3163971.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6699
Deuteranopia (green-blind)
#3E5C96
Tritanopia (blue-blind)
#006F76
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #316397;
/* rgb */ color: rgb(49, 99, 151);
/* oklch */ color: oklch(49.0% 0.100 251.4);
Tailwind
colors: {
  custom: {
    50: '#748fb6',
    500: '#316397',
    950: '#000000',
  },
}
SCSS
$custom: #316397;
$custom-light: #748fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#316397",
  "rgb": {
    "r": 49,
    "g": 99,
    "b": 151
  },
  "hsl": {
    "h": 210.588,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49016,
    "c": 0.09984,
    "h": 251.4
  },
  "luminance": 0.11811
}

Semantic roles & 50–950 ramp

primary
#316397
secondary
#B9936B
accent
#954DDA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #316397

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

Preview Lab → · Contrast checker → · Palette generator →

#316397 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva