#317497#317497

#317497 is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.1% C 0.087 H 234.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#317497
RGBrgb(49, 116, 151)
HSLhsl(201, 51%, 39%)
HSVhsv(201, 68%, 59%)
CMYKcmyk(67.5%, 23.2%, 0%, 40.8%)
CIE-LABlab(46.15, -9.62, -25.20)
CIE-LCHlch(46.15, 26.97, 249.10°)
OKLaboklab(53.15% -0.0503 -0.0707)
OKLCHoklch(53.15% 0.087 234.6)
XYZxyz(13.0957, 15.3767, 31.5500)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317497 #975431
analogous
#319787 #317497 #314197
triadic
#317497 #973174 #749731
tetradic
#317497 #873197 #975431 #419731
square
#317497 #873197 #975431 #419731
split-complementary
#317497 #973141 #978731
monochromatic
#132D3B #225169 #317497 #4397C2 #71B0D1

Accessibility & contrast

On white

5.15
#317497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#317497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317497
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317497#FFFFFF#000000##FFFFFF
##3174971.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637399
Deuteranopia (green-blind)
#556996
Tritanopia (blue-blind)
#007D80
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #317497;
/* rgb */ color: rgb(49, 116, 151);
/* oklch */ color: oklch(53.1% 0.087 234.6);
Tailwind
colors: {
  custom: {
    50: '#759cb5',
    500: '#317497',
    950: '#000000',
  },
}
SCSS
$custom: #317497;
$custom-light: #759cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#317497",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 151
  },
  "hsl": {
    "h": 200.588,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5315,
    "c": 0.08678,
    "h": 234.6
  },
  "luminance": 0.15378
}

Semantic roles & 50–950 ramp

primary
#317497
secondary
#B9866B
accent
#7E4DDA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #317497

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

Preview Lab → · Contrast checker → · Palette generator →

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