#317897#317897

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

Color values

HEX#317897
RGBrgb(49, 120, 151)
HSLhsl(198, 51%, 39%)
HSVhsv(198, 68%, 59%)
CMYKcmyk(67.5%, 20.5%, 0%, 40.8%)
CIE-LABlab(47.39, -11.93, -23.27)
CIE-LCHlch(47.39, 26.15, 242.87°)
OKLaboklab(54.14% -0.0546 -0.0652)
OKLCHoklch(54.14% 0.085 230)
XYZxyz(13.5668, 16.3188, 31.7070)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317897 #975031
analogous
#319783 #317897 #314597
triadic
#317897 #973178 #789731
tetradic
#317897 #833197 #975031 #459731
square
#317897 #833197 #975031 #459731
split-complementary
#317897 #973145 #978331
monochromatic
#132F3B #225369 #317897 #439BC2 #71B4D1

Accessibility & contrast

On white

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

On black

4.26
#317897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##317897#FFFFFF#000000##FFFFFF
##3178971.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687699
Deuteranopia (green-blind)
#5A6C97
Tritanopia (blue-blind)
#008182
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #317897;
/* rgb */ color: rgb(49, 120, 151);
/* oklch */ color: oklch(54.1% 0.085 230.0);
Tailwind
colors: {
  custom: {
    50: '#759fb5',
    500: '#317897',
    950: '#000000',
  },
}
SCSS
$custom: #317897;
$custom-light: #759fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#317897",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 151
  },
  "hsl": {
    "h": 198.235,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.54141,
    "c": 0.08504,
    "h": 230
  },
  "luminance": 0.1632
}

Semantic roles & 50–950 ramp

primary
#317897
secondary
#B9836B
accent
#784DDA
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #317897

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

Preview Lab → · Contrast checker → · Palette generator →

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