#316E97#316E97

#316E97 is a mid, moderate cyan. Relative luminance 0.140; OKLCH L 51.7% C 0.090 H 241.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#316E97
RGBrgb(49, 110, 151)
HSLhsl(204, 51%, 39%)
HSVhsv(204, 68%, 59%)
CMYKcmyk(67.5%, 27.2%, 0%, 40.8%)
CIE-LABlab(44.29, -6.09, -28.09)
CIE-LCHlch(44.29, 28.74, 257.77°)
OKLaboklab(51.68% -0.0438 -0.0791)
OKLCHoklch(51.68% 0.09 241)
XYZxyz(12.4263, 14.0379, 31.3269)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316E97 #975A31
analogous
#31978D #316E97 #313B97
triadic
#316E97 #97316E #6E9731
tetradic
#316E97 #8D3197 #975A31 #3B9731
square
#316E97 #8D3197 #975A31 #3B9731
split-complementary
#316E97 #97313B #978D31
monochromatic
#132B3B #224C69 #316E97 #438FC2 #71ABD1

Accessibility & contrast

On white

5.51
#316E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#316E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316E97
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316E97#FFFFFF#000000##FFFFFF
##316E971.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6E99
Deuteranopia (green-blind)
#4D6496
Tritanopia (blue-blind)
#00787C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #316e97;
/* rgb */ color: rgb(49, 110, 151);
/* oklch */ color: oklch(51.7% 0.090 241.0);
Tailwind
colors: {
  custom: {
    50: '#7597b5',
    500: '#316e97',
    950: '#000000',
  },
}
SCSS
$custom: #316e97;
$custom-light: #7597b5;
$custom-dark: #000000;
JSON
{
  "hex": "#316e97",
  "rgb": {
    "r": 49,
    "g": 110,
    "b": 151
  },
  "hsl": {
    "h": 204.118,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51675,
    "c": 0.09041,
    "h": 241
  },
  "luminance": 0.14039
}

Semantic roles & 50–950 ramp

primary
#316E97
secondary
#B98A6B
accent
#864DDA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #316E97

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

Preview Lab → · Contrast checker → · Palette generator →

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