#317EA2#317EA2

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

Color values

HEX#317EA2
RGBrgb(49, 126, 162)
HSLhsl(199, 54%, 41%)
HSVhsv(199, 70%, 64%)
CMYKcmyk(69.8%, 22.2%, 0%, 36.5%)
CIE-LABlab(49.72, -11.58, -26.11)
CIE-LCHlch(49.72, 28.57, 246.08°)
OKLaboklab(56.15% -0.0569 -0.0733)
OKLCHoklch(56.15% 0.093 232.2)
XYZxyz(15.2465, 18.1816, 36.8813)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317EA2 #A25531
analogous
#31A28E #317EA2 #3146A2
triadic
#317EA2 #A2317E #7EA231
tetradic
#317EA2 #8E31A2 #A25531 #46A231
square
#317EA2 #8E31A2 #A25531 #46A231
split-complementary
#317EA2 #A23146 #A28E31
monochromatic
#153544 #235973 #317EA2 #489FC8 #77B8D6

Accessibility & contrast

On white

4.53
#317EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##317EA2#FFFFFF#000000##000000
##317EA21.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #317ea2;
/* rgb */ color: rgb(49, 126, 162);
/* oklch */ color: oklch(56.1% 0.093 232.2);
Tailwind
colors: {
  custom: {
    50: '#77a3bd',
    500: '#317ea2',
    950: '#000000',
  },
}
SCSS
$custom: #317ea2;
$custom-light: #77a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#317ea2",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 199.115,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.56149,
    "c": 0.0928,
    "h": 232.2
  },
  "luminance": 0.18183
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #317EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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