#317FB2#317FB2

#317FB2 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.2% C 0.109 H 241.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#317FB2
RGBrgb(49, 127, 178)
HSLhsl(204, 57%, 45%)
HSVhsv(204, 72%, 70%)
CMYKcmyk(72.5%, 28.7%, 0%, 30.2%)
CIE-LABlab(50.74, -6.57, -33.79)
CIE-LCHlch(50.74, 34.43, 259.00°)
OKLaboklab(57.2% -0.0524 -0.0955)
OKLCHoklch(57.2% 0.109 241.2)
XYZxyz(16.8888, 19.0442, 44.8967)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FB2 #B26431
analogous
#31B2A5 #317FB2 #313FB2
triadic
#317FB2 #B2317F #7FB231
tetradic
#317FB2 #A531B2 #B26431 #3FB231
square
#317FB2 #A531B2 #B26431 #3FB231
split-complementary
#317FB2 #B2313F #B2A531
monochromatic
#173B52 #245D82 #317FB2 #519DCF #81B8DC

Accessibility & contrast

On white

4.37
#317FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#317FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317FB2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317FB2#FFFFFF#000000##000000
##317FB21.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6780B4
Deuteranopia (green-blind)
#5673B1
Tritanopia (blue-blind)
#008C91
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #317fb2;
/* rgb */ color: rgb(49, 127, 178);
/* oklch */ color: oklch(57.2% 0.109 241.2);
Tailwind
colors: {
  custom: {
    50: '#7aa4c9',
    500: '#317fb2',
    950: '#000000',
  },
}
SCSS
$custom: #317fb2;
$custom-light: #7aa4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#317fb2",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 203.721,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57199,
    "c": 0.10891,
    "h": 241.2
  },
  "luminance": 0.19046
}

Semantic roles & 50–950 ramp

primary
#317FB2
secondary
#C59779
accent
#8448E0
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #317FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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