#317FA2#317FA2

#317FA2 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.4% C 0.092 H 231.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#317FA2
RGBrgb(49, 127, 162)
HSLhsl(199, 54%, 41%)
HSVhsv(199, 70%, 64%)
CMYKcmyk(69.8%, 21.6%, 0%, 36.5%)
CIE-LABlab(50.02, -12.15, -25.64)
CIE-LCHlch(50.02, 28.37, 244.64°)
OKLaboklab(56.4% -0.058 -0.0719)
OKLCHoklch(56.4% 0.092 231.1)
XYZxyz(15.3750, 18.4387, 36.9241)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FA2 #A25431
analogous
#31A28D #317FA2 #3147A2
triadic
#317FA2 #A2317F #7FA231
tetradic
#317FA2 #8D31A2 #A25431 #47A231
square
#317FA2 #8D31A2 #A25431 #47A231
split-complementary
#317FA2 #A23147 #A28D31
monochromatic
#153544 #235A73 #317FA2 #48A0C8 #77B9D6

Accessibility & contrast

On white

4.48
#317FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#317FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317FA2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317FA2#FFFFFF#000000##000000
##317FA21.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA4
Deuteranopia (green-blind)
#5E72A1
Tritanopia (blue-blind)
#00898B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317fa2;
/* rgb */ color: rgb(49, 127, 162);
/* oklch */ color: oklch(56.4% 0.092 231.1);
Tailwind
colors: {
  custom: {
    50: '#77a4bd',
    500: '#317fa2',
    950: '#000000',
  },
}
SCSS
$custom: #317fa2;
$custom-light: #77a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#317fa2",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 198.584,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.56395,
    "c": 0.09238,
    "h": 231.1
  },
  "luminance": 0.1844
}

Semantic roles & 50–950 ramp

primary
#317FA2
secondary
#BE8971
accent
#784BDD
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #317FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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