#317EA1#317EA1

#317EA1 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.1% C 0.092 H 231.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#317EA1
RGBrgb(49, 126, 161)
HSLhsl(199, 53%, 41%)
HSVhsv(199, 70%, 63%)
CMYKcmyk(69.6%, 21.7%, 0%, 36.9%)
CIE-LABlab(49.67, -11.93, -25.60)
CIE-LCHlch(49.67, 28.24, 245.02°)
OKLaboklab(56.1% -0.0573 -0.0718)
OKLCHoklch(56.1% 0.092 231.4)
XYZxyz(15.1579, 18.1462, 36.4150)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317EA1 #A15431
analogous
#31A18C #317EA1 #3146A1
triadic
#317EA1 #A1317E #7EA131
tetradic
#317EA1 #8C31A1 #A15431 #46A131
square
#317EA1 #8C31A1 #A15431 #46A131
split-complementary
#317EA1 #A13146 #A18C31
monochromatic
#143543 #235972 #317EA1 #489FC7 #77B8D6

Accessibility & contrast

On white

4.54
#317EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#317EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317EA1
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317EA1#FFFFFF#000000##000000
##317EA11.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #317ea1;
/* rgb */ color: rgb(49, 126, 161);
/* oklch */ color: oklch(56.1% 0.092 231.4);
Tailwind
colors: {
  custom: {
    50: '#77a3bd',
    500: '#317ea1',
    950: '#000000',
  },
}
SCSS
$custom: #317ea1;
$custom-light: #77a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#317ea1",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 161
  },
  "hsl": {
    "h": 198.75,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.56101,
    "c": 0.09186,
    "h": 231.4
  },
  "luminance": 0.18148
}

Semantic roles & 50–950 ramp

primary
#317EA1
secondary
#BE8870
accent
#794BDD
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #317EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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