#317AAA#317AAA

#317AAA is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.6% C 0.104 H 241.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#317AAA
RGBrgb(49, 122, 170)
HSLhsl(204, 55%, 43%)
HSVhsv(204, 71%, 67%)
CMYKcmyk(71.2%, 28.2%, 0%, 33.3%)
CIE-LABlab(48.85, -6.48, -32.12)
CIE-LCHlch(48.85, 32.76, 258.60°)
OKLaboklab(55.58% -0.05 -0.0907)
OKLCHoklch(55.58% 0.104 241.1)
XYZxyz(15.4791, 17.4726, 40.5792)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317AAA #AA6131
analogous
#31AA9D #317AAA #313DAA
triadic
#317AAA #AA317A #7AAA31
tetradic
#317AAA #9D31AA #AA6131 #3DAA31
square
#317AAA #9D31AA #AA6131 #3DAA31
split-complementary
#317AAA #AA313D #AA9D31
monochromatic
#16364B #23587A #317AAA #4D99CC #7CB4D9

Accessibility & contrast

On white

4.67
#317AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #317AAA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317AAA#FFFFFF#000000##FFFFFF
##317AAA1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647BAC
Deuteranopia (green-blind)
#536FA9
Tritanopia (blue-blind)
#00868B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #317aaa;
/* rgb */ color: rgb(49, 122, 170);
/* oklch */ color: oklch(55.6% 0.104 241.1);
Tailwind
colors: {
  custom: {
    50: '#78a0c3',
    500: '#317aaa',
    950: '#000000',
  },
}
SCSS
$custom: #317aaa;
$custom-light: #78a0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#317aaa",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 203.802,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5558,
    "c": 0.10354,
    "h": 241.1
  },
  "luminance": 0.17474
}

Semantic roles & 50–950 ramp

primary
#317AAA
secondary
#C29375
accent
#8449DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #317AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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