#317893#317893

#317893 is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.0% C 0.082 H 226.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#317893
RGBrgb(49, 120, 147)
HSLhsl(197, 50%, 38%)
HSVhsv(197, 67%, 58%)
CMYKcmyk(66.7%, 18.4%, 0%, 42.4%)
CIE-LABlab(47.22, -13.28, -21.17)
CIE-LCHlch(47.22, 24.99, 237.90°)
OKLaboklab(53.95% -0.0562 -0.0591)
OKLCHoklch(53.95% 0.082 226.5)
XYZxyz(13.2475, 16.1911, 30.0251)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317893 #934C31
analogous
#31937D #317893 #314793
triadic
#317893 #933178 #789331
tetradic
#317893 #7D3193 #934C31 #479331
square
#317893 #7D3193 #934C31 #479331
split-complementary
#317893 #933147 #937D31
monochromatic
#122D37 #225365 #317893 #419DC0 #6FB5CF

Accessibility & contrast

On white

4.95
#317893 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#317893 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317893
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317893#FFFFFF#000000##FFFFFF
##3178931.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697694
Deuteranopia (green-blind)
#5C6C93
Tritanopia (blue-blind)
#008081
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #317893;
/* rgb */ color: rgb(49, 120, 147);
/* oklch */ color: oklch(54.0% 0.082 226.5);
Tailwind
colors: {
  custom: {
    50: '#759fb2',
    500: '#317893',
    950: '#000000',
  },
}
SCSS
$custom: #317893;
$custom-light: #759fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#317893",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 147
  },
  "hsl": {
    "h": 196.531,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.53954,
    "c": 0.08159,
    "h": 226.5
  },
  "luminance": 0.16192
}

Semantic roles & 50–950 ramp

primary
#317893
secondary
#B77E69
accent
#754EDA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #317893

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

Preview Lab → · Contrast checker → · Palette generator →

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