#317EB3#317EB3

#317EB3 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 57.0% C 0.111 H 242.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#317EB3
RGBrgb(49, 126, 179)
HSLhsl(204, 57%, 45%)
HSVhsv(204, 73%, 70%)
CMYKcmyk(72.6%, 29.6%, 0%, 29.8%)
CIE-LABlab(50.48, -5.63, -34.77)
CIE-LCHlch(50.48, 35.22, 260.80°)
OKLaboklab(57.01% -0.0511 -0.0983)
OKLCHoklch(57.01% 0.111 242.5)
XYZxyz(16.8610, 18.8274, 45.3845)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317EB3 #B36631
analogous
#31B3A7 #317EB3 #313DB3
triadic
#317EB3 #B3317E #7EB331
tetradic
#317EB3 #A731B3 #B36631 #3DB331
square
#317EB3 #A731B3 #B36631 #3DB331
split-complementary
#317EB3 #B3313D #B3A731
monochromatic
#173A53 #245C83 #317EB3 #529CD0 #82B8DD

Accessibility & contrast

On white

4.41
#317EB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#317EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317EB3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317EB3#FFFFFF#000000##000000
##317EB31.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#667FB5
Deuteranopia (green-blind)
#5473B2
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #317eb3;
/* rgb */ color: rgb(49, 126, 179);
/* oklch */ color: oklch(57.0% 0.111 242.5);
Tailwind
colors: {
  custom: {
    50: '#7aa3ca',
    500: '#317eb3',
    950: '#000000',
  },
}
SCSS
$custom: #317eb3;
$custom-light: #7aa3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#317eb3",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 179
  },
  "hsl": {
    "h": 204.462,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57013,
    "c": 0.11081,
    "h": 242.5
  },
  "luminance": 0.18829
}

Semantic roles & 50–950 ramp

primary
#317EB3
secondary
#C6997A
accent
#8648E0
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #317EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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