#317FA1#317FA1

#317FA1 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.3% C 0.091 H 230.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#317FA1
RGBrgb(49, 127, 161)
HSLhsl(198, 53%, 41%)
HSVhsv(198, 70%, 63%)
CMYKcmyk(69.6%, 21.1%, 0%, 36.9%)
CIE-LABlab(49.98, -12.49, -25.12)
CIE-LCHlch(49.98, 28.05, 243.56°)
OKLaboklab(56.35% -0.0584 -0.0704)
OKLCHoklch(56.35% 0.091 230.3)
XYZxyz(15.2865, 18.4032, 36.4579)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FA1 #A15331
analogous
#31A18B #317FA1 #3147A1
triadic
#317FA1 #A1317F #7FA131
tetradic
#317FA1 #8B31A1 #A15331 #47A131
square
#317FA1 #8B31A1 #A15331 #47A131
split-complementary
#317FA1 #A13147 #A18B31
monochromatic
#143543 #235A72 #317FA1 #48A1C7 #77B9D6

Accessibility & contrast

On white

4.49
#317FA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#317FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317FA1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317FA1#FFFFFF#000000##000000
##317FA11.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7DA3
Deuteranopia (green-blind)
#5E72A1
Tritanopia (blue-blind)
#00888A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317fa1;
/* rgb */ color: rgb(49, 127, 161);
/* oklch */ color: oklch(56.3% 0.091 230.3);
Tailwind
colors: {
  custom: {
    50: '#77a4bd',
    500: '#317fa1',
    950: '#000000',
  },
}
SCSS
$custom: #317fa1;
$custom-light: #77a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#317fa1",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 161
  },
  "hsl": {
    "h": 198.214,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.56347,
    "c": 0.09147,
    "h": 230.3
  },
  "luminance": 0.18405
}

Semantic roles & 50–950 ramp

primary
#317FA1
secondary
#BE8870
accent
#774BDD
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #317FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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