#317399#317399

#317399 is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.0% C 0.089 H 237.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#317399
RGBrgb(49, 115, 153)
HSLhsl(202, 51%, 40%)
HSVhsv(202, 68%, 60%)
CMYKcmyk(68%, 24.8%, 0%, 40%)
CIE-LABlab(45.92, -8.35, -26.72)
CIE-LCHlch(45.92, 28.00, 252.65°)
OKLaboklab(53% -0.0485 -0.0751)
OKLCHoklch(53% 0.089 237.2)
XYZxyz(13.1449, 15.2130, 32.3745)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317399 #995731
analogous
#31998B #317399 #313F99
triadic
#317399 #993173 #739931
tetradic
#317399 #8B3199 #995731 #3F9931
square
#317399 #8B3199 #995731 #3F9931
split-complementary
#317399 #99313F #998B31
monochromatic
#132D3C #22506B #317399 #4495C3 #72AFD2

Accessibility & contrast

On white

5.19
#317399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#317399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##317399#FFFFFF#000000##FFFFFF
##3173991.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61739B
Deuteranopia (green-blind)
#536898
Tritanopia (blue-blind)
#007D80
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #317399;
/* rgb */ color: rgb(49, 115, 153);
/* oklch */ color: oklch(53.0% 0.089 237.2);
Tailwind
colors: {
  custom: {
    50: '#759bb7',
    500: '#317399',
    950: '#000000',
  },
}
SCSS
$custom: #317399;
$custom-light: #759bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#317399",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 153
  },
  "hsl": {
    "h": 201.923,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.53003,
    "c": 0.0894,
    "h": 237.2
  },
  "luminance": 0.15214
}

Semantic roles & 50–950 ramp

primary
#317399
secondary
#BA886C
accent
#814DDB
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #317399

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

Preview Lab → · Contrast checker → · Palette generator →

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