#317FB3#317FB3

#317FB3 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.3% C 0.110 H 241.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#317FB3
RGBrgb(49, 127, 179)
HSLhsl(204, 57%, 45%)
HSVhsv(204, 73%, 70%)
CMYKcmyk(72.6%, 29.1%, 0%, 29.8%)
CIE-LABlab(50.79, -6.22, -34.30)
CIE-LCHlch(50.79, 34.86, 259.73°)
OKLaboklab(57.25% -0.0521 -0.0969)
OKLCHoklch(57.25% 0.11 241.7)
XYZxyz(16.9895, 19.0845, 45.4274)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FB3 #B36531
analogous
#31B3A6 #317FB3 #313EB3
triadic
#317FB3 #B3317F #7FB331
tetradic
#317FB3 #A631B3 #B36531 #3EB331
square
#317FB3 #A631B3 #B36531 #3EB331
split-complementary
#317FB3 #B3313E #B3A631
monochromatic
#173B53 #245D83 #317FB3 #529DD0 #82B8DD

Accessibility & contrast

On white

4.36
#317FB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#317FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317FB3
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317FB3#FFFFFF#000000##000000
##317FB31.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6780B5
Deuteranopia (green-blind)
#5573B2
Tritanopia (blue-blind)
#008C91
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #317fb3;
/* rgb */ color: rgb(49, 127, 179);
/* oklch */ color: oklch(57.3% 0.110 241.7);
Tailwind
colors: {
  custom: {
    50: '#7aa3ca',
    500: '#317fb3',
    950: '#000000',
  },
}
SCSS
$custom: #317fb3;
$custom-light: #7aa3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#317fb3",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 179
  },
  "hsl": {
    "h": 204,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57252,
    "c": 0.11004,
    "h": 241.7
  },
  "luminance": 0.19086
}

Semantic roles & 50–950 ramp

primary
#317FB3
secondary
#C6987A
accent
#8548E0
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #317FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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