#317DA2#317DA2

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

Color values

HEX#317DA2
RGBrgb(49, 125, 162)
HSLhsl(200, 54%, 41%)
HSVhsv(200, 70%, 64%)
CMYKcmyk(69.8%, 22.8%, 0%, 36.5%)
CIE-LABlab(49.41, -11.01, -26.59)
CIE-LCHlch(49.41, 28.78, 247.50°)
OKLaboklab(55.9% -0.0559 -0.0747)
OKLCHoklch(55.9% 0.093 233.2)
XYZxyz(15.1193, 17.9272, 36.8389)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317DA2 #A25631
analogous
#31A28F #317DA2 #3145A2
triadic
#317DA2 #A2317D #7DA231
tetradic
#317DA2 #8F31A2 #A25631 #45A231
square
#317DA2 #8F31A2 #A25631 #45A231
split-complementary
#317DA2 #A23145 #A28F31
monochromatic
#153444 #235973 #317DA2 #489EC8 #77B7D6

Accessibility & contrast

On white

4.58
#317DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#317DA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317DA2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317DA2#FFFFFF#000000##000000
##317DA21.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #317da2;
/* rgb */ color: rgb(49, 125, 162);
/* oklch */ color: oklch(55.9% 0.093 233.2);
Tailwind
colors: {
  custom: {
    50: '#77a2bd',
    500: '#317da2',
    950: '#000000',
  },
}
SCSS
$custom: #317da2;
$custom-light: #77a2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#317da2",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 162
  },
  "hsl": {
    "h": 199.646,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.55904,
    "c": 0.09326,
    "h": 233.2
  },
  "luminance": 0.17929
}

Semantic roles & 50–950 ramp

primary
#317DA2
secondary
#BE8A71
accent
#7B4BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #317DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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