#317EA3#317EA3

#317EA3 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.2% C 0.094 H 232.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#317EA3
RGBrgb(49, 126, 163)
HSLhsl(199, 54%, 42%)
HSVhsv(199, 70%, 64%)
CMYKcmyk(69.9%, 22.7%, 0%, 36.1%)
CIE-LABlab(49.76, -11.24, -26.63)
CIE-LCHlch(49.76, 28.90, 247.12°)
OKLaboklab(56.2% -0.0566 -0.0748)
OKLCHoklch(56.2% 0.094 232.9)
XYZxyz(15.3357, 18.2173, 37.3513)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317EA3 #A35631
analogous
#31A38F #317EA3 #3145A3
triadic
#317EA3 #A3317E #7EA331
tetradic
#317EA3 #8F31A3 #A35631 #45A331
square
#317EA3 #8F31A3 #A35631 #45A331
split-complementary
#317EA3 #A33145 #A38F31
monochromatic
#153545 #235A74 #317EA3 #499FC8 #78B8D6

Accessibility & contrast

On white

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

On black

4.64
#317EA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317EA3
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317EA3#FFFFFF#000000##000000
##317EA31.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7DA5
Deuteranopia (green-blind)
#5C71A2
Tritanopia (blue-blind)
#00888A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #317ea3;
/* rgb */ color: rgb(49, 126, 163);
/* oklch */ color: oklch(56.2% 0.094 232.9);
Tailwind
colors: {
  custom: {
    50: '#77a3be',
    500: '#317ea3',
    950: '#000000',
  },
}
SCSS
$custom: #317ea3;
$custom-light: #77a3be;
$custom-dark: #000000;
JSON
{
  "hex": "#317ea3",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 163
  },
  "hsl": {
    "h": 199.474,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.56198,
    "c": 0.09376,
    "h": 232.9
  },
  "luminance": 0.18219
}

Semantic roles & 50–950 ramp

primary
#317EA3
secondary
#BF8A71
accent
#7A4BDD
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #317EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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