#317AB9#317AB9

#317AB9 is a mid, vivid cyan. Relative luminance 0.181; OKLCH L 56.4% C 0.121 H 248.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#317AB9
RGBrgb(49, 122, 185)
HSLhsl(208, 58%, 46%)
HSVhsv(208, 74%, 73%)
CMYKcmyk(73.5%, 34.1%, 0%, 27.5%)
CIE-LABlab(49.58, -1.09, -39.65)
CIE-LCHlch(49.58, 39.66, 268.43°)
OKLaboklab(56.4% -0.0454 -0.1126)
OKLCHoklch(56.4% 0.121 248)
XYZxyz(16.9798, 18.0729, 48.4831)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317AB9 #B97031
analogous
#31B9B4 #317AB9 #3136B9
triadic
#317AB9 #B9317A #7AB931
tetradic
#317AB9 #B431B9 #B97031 #36B931
square
#317AB9 #B431B9 #B97031 #36B931
split-complementary
#317AB9 #B93136 #B9B431
monochromatic
#173A58 #245A89 #317AB9 #5598D2 #86B5DF

Accessibility & contrast

On white

4.55
#317AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#317AB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317AB9
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317AB9#FFFFFF#000000##000000
##317AB91.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBC
Deuteranopia (green-blind)
#4A70B8
Tritanopia (blue-blind)
#008991
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #317ab9;
/* rgb */ color: rgb(49, 122, 185);
/* oklch */ color: oklch(56.4% 0.121 248.0);
Tailwind
colors: {
  custom: {
    50: '#7ba0ce',
    500: '#317ab9',
    950: '#000000',
  },
}
SCSS
$custom: #317ab9;
$custom-light: #7ba0ce;
$custom-dark: #000000;
JSON
{
  "hex": "#317ab9",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 185
  },
  "hsl": {
    "h": 207.794,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.564,
    "c": 0.12139,
    "h": 248
  },
  "luminance": 0.18075
}

Semantic roles & 50–950 ramp

primary
#317AB9
secondary
#C8A07D
accent
#8E46E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #317AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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