#317DA1#317DA1

#317DA1 is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 55.9% C 0.092 H 232.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#317DA1
RGBrgb(49, 125, 161)
HSLhsl(199, 53%, 41%)
HSVhsv(199, 70%, 63%)
CMYKcmyk(69.6%, 22.4%, 0%, 36.9%)
CIE-LABlab(49.36, -11.36, -26.07)
CIE-LCHlch(49.36, 28.44, 246.46°)
OKLaboklab(55.86% -0.0563 -0.0732)
OKLCHoklch(55.86% 0.092 232.4)
XYZxyz(15.0307, 17.8918, 36.3726)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317DA1 #A15531
analogous
#31A18D #317DA1 #3145A1
triadic
#317DA1 #A1317D #7DA131
tetradic
#317DA1 #8D31A1 #A15531 #45A131
square
#317DA1 #8D31A1 #A15531 #45A131
split-complementary
#317DA1 #A13145 #A18D31
monochromatic
#143443 #235972 #317DA1 #489EC7 #77B7D6

Accessibility & contrast

On white

4.59
#317DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#317DA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #317DA1
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317DA1#FFFFFF#000000##FFFFFF
##317DA11.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7CA3
Deuteranopia (green-blind)
#5C70A0
Tritanopia (blue-blind)
#008789
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #317da1;
/* rgb */ color: rgb(49, 125, 161);
/* oklch */ color: oklch(55.9% 0.092 232.4);
Tailwind
colors: {
  custom: {
    50: '#77a2bd',
    500: '#317da1',
    950: '#000000',
  },
}
SCSS
$custom: #317da1;
$custom-light: #77a2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#317da1",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 161
  },
  "hsl": {
    "h": 199.286,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.55856,
    "c": 0.0923,
    "h": 232.4
  },
  "luminance": 0.17893
}

Semantic roles & 50–950 ramp

primary
#317DA1
secondary
#BE8970
accent
#7A4BDD
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #317DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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