#317BAA#317BAA

#317BAA is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.8% C 0.103 H 240.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#317BAA
RGBrgb(49, 123, 170)
HSLhsl(203, 55%, 43%)
HSVhsv(203, 71%, 67%)
CMYKcmyk(71.2%, 27.6%, 0%, 33.3%)
CIE-LABlab(49.15, -7.06, -31.64)
CIE-LCHlch(49.15, 32.42, 257.41°)
OKLaboklab(55.82% -0.051 -0.0893)
OKLCHoklch(55.82% 0.103 240.2)
XYZxyz(15.6025, 17.7194, 40.6203)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317BAA #AA6031
analogous
#31AA9C #317BAA #313EAA
triadic
#317BAA #AA317B #7BAA31
tetradic
#317BAA #9C31AA #AA6031 #3EAA31
square
#317BAA #9C31AA #AA6031 #3EAA31
split-complementary
#317BAA #AA313E #AA9C31
monochromatic
#16364B #23597A #317BAA #4D9ACC #7CB5D9

Accessibility & contrast

On white

4.62
#317BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#317BAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #317BAA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317BAA#FFFFFF#000000##FFFFFF
##317BAA1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657BAC
Deuteranopia (green-blind)
#5570A9
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #317baa;
/* rgb */ color: rgb(49, 123, 170);
/* oklch */ color: oklch(55.8% 0.103 240.2);
Tailwind
colors: {
  custom: {
    50: '#78a1c3',
    500: '#317baa',
    950: '#000000',
  },
}
SCSS
$custom: #317baa;
$custom-light: #78a1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#317baa",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 170
  },
  "hsl": {
    "h": 203.306,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55821,
    "c": 0.10283,
    "h": 240.2
  },
  "luminance": 0.17721
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #317BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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