#317AA1#317AA1

#317AA1 is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.1% C 0.094 H 235.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#317AA1
RGBrgb(49, 122, 161)
HSLhsl(201, 53%, 41%)
HSVhsv(201, 70%, 63%)
CMYKcmyk(69.6%, 24.2%, 0%, 36.9%)
CIE-LABlab(48.44, -9.64, -27.51)
CIE-LCHlch(48.44, 29.15, 250.69°)
OKLaboklab(55.12% -0.0531 -0.0773)
OKLCHoklch(55.12% 0.094 235.5)
XYZxyz(14.6567, 17.1436, 36.2479)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317AA1 #A15831
analogous
#31A190 #317AA1 #3142A1
triadic
#317AA1 #A1317A #7AA131
tetradic
#317AA1 #9031A1 #A15831 #42A131
square
#317AA1 #9031A1 #A15831 #42A131
split-complementary
#317AA1 #A13142 #A19031
monochromatic
#143343 #235672 #317AA1 #489BC7 #77B5D6

Accessibility & contrast

On white

4.74
#317AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#317AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317AA1
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317AA1#FFFFFF#000000##FFFFFF
##317AA11.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6779A3
Deuteranopia (green-blind)
#586EA0
Tritanopia (blue-blind)
#008487
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #317aa1;
/* rgb */ color: rgb(49, 122, 161);
/* oklch */ color: oklch(55.1% 0.094 235.5);
Tailwind
colors: {
  custom: {
    50: '#77a0bd',
    500: '#317aa1',
    950: '#000000',
  },
}
SCSS
$custom: #317aa1;
$custom-light: #77a0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#317aa1",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 161
  },
  "hsl": {
    "h": 200.893,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5512,
    "c": 0.09381,
    "h": 235.5
  },
  "luminance": 0.17145
}

Semantic roles & 50–950 ramp

primary
#317AA1
secondary
#BE8B70
accent
#7E4BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #317AA1

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

Preview Lab → · Contrast checker → · Palette generator →

#317AA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva