#317ABA#317ABA

#317ABA is a mid, vivid cyan. Relative luminance 0.181; OKLCH L 56.5% C 0.123 H 248.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#317ABA
RGBrgb(49, 122, 186)
HSLhsl(208, 58%, 46%)
HSVhsv(208, 74%, 73%)
CMYKcmyk(73.7%, 34.4%, 0%, 27.1%)
CIE-LABlab(49.64, -0.73, -40.14)
CIE-LCHlch(49.64, 40.15, 268.96°)
OKLaboklab(56.46% -0.0451 -0.114)
OKLCHoklch(56.46% 0.123 248.4)
XYZxyz(17.0857, 18.1153, 49.0410)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317ABA #BA7131
analogous
#31BAB5 #317ABA #3135BA
triadic
#317ABA #BA317A #7ABA31
tetradic
#317ABA #B531BA #BA7131 #35BA31
square
#317ABA #B531BA #BA7131 #35BA31
split-complementary
#317ABA #BA3135 #BAB531
monochromatic
#173A59 #245A8A #317ABA #5698D2 #86B6DF

Accessibility & contrast

On white

4.54
#317ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#317ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317ABA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317ABA#FFFFFF#000000##000000
##317ABA1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBD
Deuteranopia (green-blind)
#4970B9
Tritanopia (blue-blind)
#008991
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #317aba;
/* rgb */ color: rgb(49, 122, 186);
/* oklch */ color: oklch(56.5% 0.123 248.4);
Tailwind
colors: {
  custom: {
    50: '#7ba0cf',
    500: '#317aba',
    950: '#000000',
  },
}
SCSS
$custom: #317aba;
$custom-light: #7ba0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#317aba",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 186
  },
  "hsl": {
    "h": 208.029,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56457,
    "c": 0.12264,
    "h": 248.4
  },
  "luminance": 0.18117
}

Semantic roles & 50–950 ramp

primary
#317ABA
secondary
#C9A17E
accent
#8F46E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #317ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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