#317EA4#317EA4

#317EA4 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.2% C 0.095 H 233.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#317EA4
RGBrgb(49, 126, 164)
HSLhsl(200, 54%, 42%)
HSVhsv(200, 70%, 64%)
CMYKcmyk(70.1%, 23.2%, 0%, 35.7%)
CIE-LABlab(49.80, -10.90, -27.14)
CIE-LCHlch(49.80, 29.25, 248.13°)
OKLaboklab(56.25% -0.0562 -0.0762)
OKLCHoklch(56.25% 0.095 233.6)
XYZxyz(15.4257, 18.2533, 37.8250)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317EA4 #A45731
analogous
#31A491 #317EA4 #3145A4
triadic
#317EA4 #A4317E #7EA431
tetradic
#317EA4 #9131A4 #A45731 #45A431
square
#317EA4 #9131A4 #A45731 #45A431
split-complementary
#317EA4 #A43145 #A49131
monochromatic
#153646 #235A75 #317EA4 #499FC9 #79B8D7

Accessibility & contrast

On white

4.52
#317EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#317EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317EA4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317EA4#FFFFFF#000000##000000
##317EA41.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7DA6
Deuteranopia (green-blind)
#5C71A3
Tritanopia (blue-blind)
#00888B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #317ea4;
/* rgb */ color: rgb(49, 126, 164);
/* oklch */ color: oklch(56.2% 0.095 233.6);
Tailwind
colors: {
  custom: {
    50: '#77a3bf',
    500: '#317ea4',
    950: '#000000',
  },
}
SCSS
$custom: #317ea4;
$custom-light: #77a3bf;
$custom-dark: #000000;
JSON
{
  "hex": "#317ea4",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 164
  },
  "hsl": {
    "h": 199.826,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.56247,
    "c": 0.09472,
    "h": 233.6
  },
  "luminance": 0.18255
}

Semantic roles & 50–950 ramp

primary
#317EA4
secondary
#BF8B72
accent
#7B4ADD
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #317EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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