#317EA8#317EA8

#317EA8 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.4% C 0.099 H 236.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#317EA8
RGBrgb(49, 126, 168)
HSLhsl(201, 55%, 43%)
HSVhsv(201, 71%, 66%)
CMYKcmyk(70.8%, 25%, 0%, 34.1%)
CIE-LABlab(49.98, -9.51, -29.19)
CIE-LCHlch(49.98, 30.70, 251.96°)
OKLaboklab(56.45% -0.0548 -0.0822)
OKLCHoklch(56.45% 0.099 236.3)
XYZxyz(15.7926, 18.4001, 39.7575)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317EA8 #A85B31
analogous
#31A896 #317EA8 #3143A8
triadic
#317EA8 #A8317E #7EA831
tetradic
#317EA8 #9631A8 #A85B31 #43A831
square
#317EA8 #9631A8 #A85B31 #43A831
split-complementary
#317EA8 #A83143 #A89631
monochromatic
#153749 #235A79 #317EA8 #4C9ECB #7BB7D8

Accessibility & contrast

On white

4.49
#317EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#317EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317EA8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317EA8#FFFFFF#000000##000000
##317EA81.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7DAA
Deuteranopia (green-blind)
#5A72A7
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317ea8;
/* rgb */ color: rgb(49, 126, 168);
/* oklch */ color: oklch(56.4% 0.099 236.3);
Tailwind
colors: {
  custom: {
    50: '#78a3c2',
    500: '#317ea8',
    950: '#000000',
  },
}
SCSS
$custom: #317ea8;
$custom-light: #78a3c2;
$custom-dark: #000000;
JSON
{
  "hex": "#317ea8",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 168
  },
  "hsl": {
    "h": 201.176,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.56445,
    "c": 0.09875,
    "h": 236.3
  },
  "luminance": 0.18402
}

Semantic roles & 50–950 ramp

primary
#317EA8
secondary
#C18F74
accent
#7E4ADE
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #317EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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