#317BA2#317BA2

#317BA2 is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.4% C 0.094 H 235.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#317BA2
RGBrgb(49, 123, 162)
HSLhsl(201, 54%, 41%)
HSVhsv(201, 70%, 64%)
CMYKcmyk(69.8%, 24.1%, 0%, 36.5%)
CIE-LABlab(48.79, -9.87, -27.55)
CIE-LCHlch(48.79, 29.26, 250.29°)
OKLaboklab(55.41% -0.0538 -0.0774)
OKLCHoklch(55.41% 0.094 235.2)
XYZxyz(14.8686, 17.4259, 36.7553)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317BA2 #A25831
analogous
#31A291 #317BA2 #3143A2
triadic
#317BA2 #A2317B #7BA231
tetradic
#317BA2 #9131A2 #A25831 #43A231
square
#317BA2 #9131A2 #A25831 #43A231
split-complementary
#317BA2 #A23143 #A29131
monochromatic
#153444 #235773 #317BA2 #489CC8 #77B5D6

Accessibility & contrast

On white

4.68
#317BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#317BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317BA2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317BA2#FFFFFF#000000##FFFFFF
##317BA21.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687AA4
Deuteranopia (green-blind)
#596FA1
Tritanopia (blue-blind)
#008588
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #317ba2;
/* rgb */ color: rgb(49, 123, 162);
/* oklch */ color: oklch(55.4% 0.094 235.2);
Tailwind
colors: {
  custom: {
    50: '#77a1bd',
    500: '#317ba2',
    950: '#000000',
  },
}
SCSS
$custom: #317ba2;
$custom-light: #77a1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#317ba2",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 162
  },
  "hsl": {
    "h": 200.708,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.55414,
    "c": 0.09428,
    "h": 235.2
  },
  "luminance": 0.17428
}

Semantic roles & 50–950 ramp

primary
#317BA2
secondary
#BE8B71
accent
#7D4BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #317BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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