#317990#317990

#317990 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.1% C 0.079 H 222.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#317990
RGBrgb(49, 121, 144)
HSLhsl(195, 49%, 38%)
HSVhsv(195, 66%, 56%)
CMYKcmyk(66%, 16%, 0%, 43.5%)
CIE-LABlab(47.42, -14.84, -19.10)
CIE-LCHlch(47.42, 24.19, 232.16°)
OKLaboklab(54.07% -0.0585 -0.0533)
OKLCHoklch(54.07% 0.079 222.3)
XYZxyz(13.1360, 16.3399, 28.8418)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317990 #904831
analogous
#319077 #317990 #314A90
triadic
#317990 #903179 #799031
tetradic
#317990 #773190 #904831 #4A9031
square
#317990 #773190 #904831 #4A9031
split-complementary
#317990 #90314A #907731
monochromatic
#122C35 #215362 #317990 #419FBE #6EB6CE

Accessibility & contrast

On white

4.92
#317990 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#317990 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317990
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317990#FFFFFF#000000##FFFFFF
##3179901.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7691
Deuteranopia (green-blind)
#5E6C90
Tritanopia (blue-blind)
#008080
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #317990;
/* rgb */ color: rgb(49, 121, 144);
/* oklch */ color: oklch(54.1% 0.079 222.3);
Tailwind
colors: {
  custom: {
    50: '#749fb0',
    500: '#317990',
    950: '#000000',
  },
}
SCSS
$custom: #317990;
$custom-light: #749fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#317990",
  "rgb": {
    "r": 49,
    "g": 121,
    "b": 144
  },
  "hsl": {
    "h": 194.526,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.54068,
    "c": 0.07911,
    "h": 222.3
  },
  "luminance": 0.16341
}

Semantic roles & 50–950 ramp

primary
#317990
secondary
#B57A68
accent
#704FD9
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #317990

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

Preview Lab → · Contrast checker → · Palette generator →

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