#317FBE#317FBE

#317FBE is a mid, vivid cyan. Relative luminance 0.195; OKLCH L 57.9% C 0.123 H 246.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#317FBE
RGBrgb(49, 127, 190)
HSLhsl(207, 59%, 47%)
HSVhsv(207, 74%, 75%)
CMYKcmyk(74.2%, 33.2%, 0%, 25.5%)
CIE-LABlab(51.32, -2.27, -39.78)
CIE-LCHlch(51.32, 39.84, 266.74°)
OKLaboklab(57.85% -0.0487 -0.1129)
OKLCHoklch(57.85% 0.123 246.6)
XYZxyz(18.1467, 19.5473, 51.5218)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FBE #BE7031
analogous
#31BEB7 #317FBE #3138BE
triadic
#317FBE #BE317F #7FBE31
tetradic
#317FBE #B731BE #BE7031 #38BE31
square
#317FBE #B731BE #BE7031 #38BE31
split-complementary
#317FBE #BE3138 #BEB731
monochromatic
#183E5D #245E8D #317FBE #589DD4 #89B9E1

Accessibility & contrast

On white

4.28
#317FBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#317FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317FBE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317FBE#FFFFFF#000000##000000
##317FBE1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6282C1
Deuteranopia (green-blind)
#4E74BD
Tritanopia (blue-blind)
#008E96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #317fbe;
/* rgb */ color: rgb(49, 127, 190);
/* oklch */ color: oklch(57.9% 0.123 246.6);
Tailwind
colors: {
  custom: {
    50: '#7ca3d2',
    500: '#317fbe',
    950: '#000000',
  },
}
SCSS
$custom: #317fbe;
$custom-light: #7ca3d2;
$custom-dark: #000000;
JSON
{
  "hex": "#317fbe",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 190
  },
  "hsl": {
    "h": 206.809,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5785,
    "c": 0.12297,
    "h": 246.6
  },
  "luminance": 0.19549
}

Semantic roles & 50–950 ramp

primary
#317FBE
secondary
#CAA180
accent
#8C46E2
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #317FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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