#317995#317995

#317995 is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.3% C 0.083 H 227.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#317995
RGBrgb(49, 121, 149)
HSLhsl(197, 51%, 39%)
HSVhsv(197, 67%, 58%)
CMYKcmyk(67.1%, 18.8%, 0%, 41.6%)
CIE-LABlab(47.62, -13.17, -21.74)
CIE-LCHlch(47.62, 25.42, 238.79°)
OKLaboklab(54.3% -0.0565 -0.0608)
OKLCHoklch(54.3% 0.083 227.1)
XYZxyz(13.5266, 16.4962, 30.8992)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317995 #954D31
analogous
#31957F #317995 #314795
triadic
#317995 #953179 #799531
tetradic
#317995 #7F3195 #954D31 #479531
square
#317995 #7F3195 #954D31 #479531
split-complementary
#317995 #953147 #957F31
monochromatic
#132E39 #225467 #317995 #429DC1 #70B5D0

Accessibility & contrast

On white

4.88
#317995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#317995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317995
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317995#FFFFFF#000000##FFFFFF
##3179951.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7796
Deuteranopia (green-blind)
#5C6C95
Tritanopia (blue-blind)
#008182
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #317995;
/* rgb */ color: rgb(49, 121, 149);
/* oklch */ color: oklch(54.3% 0.083 227.1);
Tailwind
colors: {
  custom: {
    50: '#759fb4',
    500: '#317995',
    950: '#000000',
  },
}
SCSS
$custom: #317995;
$custom-light: #759fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#317995",
  "rgb": {
    "r": 49,
    "g": 121,
    "b": 149
  },
  "hsl": {
    "h": 196.8,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.54296,
    "c": 0.08298,
    "h": 227.1
  },
  "luminance": 0.16498
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #317995

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

Preview Lab → · Contrast checker → · Palette generator →

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