#317BB2#317BB2

#317BB2 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.2% C 0.112 H 244.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#317BB2
RGBrgb(49, 123, 178)
HSLhsl(206, 57%, 45%)
HSVhsv(206, 72%, 70%)
CMYKcmyk(72.5%, 30.9%, 0%, 30.2%)
CIE-LABlab(49.53, -4.22, -35.68)
CIE-LCHlch(49.53, 35.93, 263.26°)
OKLaboklab(56.25% -0.0485 -0.101)
OKLCHoklch(56.25% 0.112 244.4)
XYZxyz(16.3824, 18.0314, 44.7279)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317BB2 #B26831
analogous
#31B2A8 #317BB2 #313BB2
triadic
#317BB2 #B2317B #7BB231
tetradic
#317BB2 #A831B2 #B26831 #3BB231
square
#317BB2 #A831B2 #B26831 #3BB231
split-complementary
#317BB2 #B2313B #B2A831
monochromatic
#173952 #245A82 #317BB2 #5199CF #81B5DC

Accessibility & contrast

On white

4.56
#317BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#317BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317BB2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317BB2#FFFFFF#000000##000000
##317BB21.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#627DB4
Deuteranopia (green-blind)
#5070B1
Tritanopia (blue-blind)
#00888E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #317bb2;
/* rgb */ color: rgb(49, 123, 178);
/* oklch */ color: oklch(56.2% 0.112 244.4);
Tailwind
colors: {
  custom: {
    50: '#7aa0c9',
    500: '#317bb2',
    950: '#000000',
  },
}
SCSS
$custom: #317bb2;
$custom-light: #7aa0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#317bb2",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 205.581,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56246,
    "c": 0.11203,
    "h": 244.4
  },
  "luminance": 0.18033
}

Semantic roles & 50–950 ramp

primary
#317BB2
secondary
#C59A79
accent
#8948E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #317BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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