#316299#316299

#316299 is a mid, moderate cyan. Relative luminance 0.117; OKLCH L 48.9% C 0.104 H 253.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#316299
RGBrgb(49, 98, 153)
HSLhsl(212, 51%, 40%)
HSVhsv(212, 68%, 60%)
CMYKcmyk(68%, 35.9%, 0%, 40%)
CIE-LABlab(40.71, 1.99, -34.89)
CIE-LCHlch(40.71, 34.95, 273.27°)
OKLaboklab(48.9% -0.0303 -0.099)
OKLCHoklch(48.9% 0.104 253)
XYZxyz(11.3820, 11.6871, 31.7868)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316299 #996831
analogous
#319699 #316299 #343199
triadic
#316299 #993162 #629931
tetradic
#316299 #993196 #996831 #319934
square
#316299 #993196 #996831 #319934
split-complementary
#316299 #993431 #969931
monochromatic
#13273C #22446B #316299 #4480C3 #729FD2

Accessibility & contrast

On white

6.29
#316299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#316299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316299
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316299#FFFFFF#000000##FFFFFF
##3162991.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #316299;
/* rgb */ color: rgb(49, 98, 153);
/* oklch */ color: oklch(48.9% 0.104 253.0);
Tailwind
colors: {
  custom: {
    50: '#758eb7',
    500: '#316299',
    950: '#000000',
  },
}
SCSS
$custom: #316299;
$custom-light: #758eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#316299",
  "rgb": {
    "r": 49,
    "g": 98,
    "b": 153
  },
  "hsl": {
    "h": 211.731,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48895,
    "c": 0.10354,
    "h": 253
  },
  "luminance": 0.11688
}

Semantic roles & 50–950 ramp

primary
#316299
secondary
#BA956C
accent
#984DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #316299

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

Preview Lab → · Contrast checker → · Palette generator →

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