#317795#317795

#317795 is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.8% C 0.084 H 229.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#317795
RGBrgb(49, 119, 149)
HSLhsl(198, 51%, 39%)
HSVhsv(198, 67%, 58%)
CMYKcmyk(67.1%, 20.1%, 0%, 41.6%)
CIE-LABlab(46.99, -12.04, -22.70)
CIE-LCHlch(46.99, 25.70, 242.07°)
OKLaboklab(53.8% -0.0543 -0.0635)
OKLCHoklch(53.8% 0.084 229.5)
XYZxyz(13.2861, 16.0151, 30.8190)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317795 #954F31
analogous
#319581 #317795 #314595
triadic
#317795 #953177 #779531
tetradic
#317795 #813195 #954F31 #459531
square
#317795 #813195 #954F31 #459531
split-complementary
#317795 #953145 #958131
monochromatic
#132D39 #225267 #317795 #429BC1 #70B3D0

Accessibility & contrast

On white

5.00
#317795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#317795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317795
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317795#FFFFFF#000000##FFFFFF
##3177951.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687596
Deuteranopia (green-blind)
#5A6B95
Tritanopia (blue-blind)
#007F81
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #317795;
/* rgb */ color: rgb(49, 119, 149);
/* oklch */ color: oklch(53.8% 0.084 229.5);
Tailwind
colors: {
  custom: {
    50: '#759eb4',
    500: '#317795',
    950: '#000000',
  },
}
SCSS
$custom: #317795;
$custom-light: #759eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#317795",
  "rgb": {
    "r": 49,
    "g": 119,
    "b": 149
  },
  "hsl": {
    "h": 198,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.53798,
    "c": 0.08359,
    "h": 229.5
  },
  "luminance": 0.16017
}

Semantic roles & 50–950 ramp

primary
#317795
secondary
#B8816A
accent
#784EDA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #317795

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

Preview Lab → · Contrast checker → · Palette generator →

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