#317BCA#317BCA

#317BCA is a mid, vivid cyan. Relative luminance 0.191; OKLCH L 57.6% C 0.142 H 252.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#317BCA
RGBrgb(49, 123, 202)
HSLhsl(211, 61%, 49%)
HSVhsv(211, 76%, 79%)
CMYKcmyk(75.7%, 39.1%, 0%, 20.8%)
CIE-LABlab(50.78, 4.53, -47.49)
CIE-LCHlch(50.78, 47.71, 275.45°)
OKLaboklab(57.63% -0.0419 -0.1355)
OKLCHoklch(57.63% 0.142 252.8)
XYZxyz(19.0063, 19.0810, 58.5470)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317BCA #CA8031
analogous
#31C8CA #317BCA #3331CA
triadic
#317BCA #CA317B #7BCA31
tetradic
#317BCA #CA31C8 #CA8031 #31CA33
square
#317BCA #CA31C8 #CA8031 #31CA33
split-complementary
#317BCA #CA3331 #C8CA31
monochromatic
#193F67 #255D99 #317BCA #609AD8 #91B9E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317BCA#FFFFFF#000000##000000
##317BCA1.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)
#5681CD
Deuteranopia (green-blind)
#3D72C8
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #317bca;
/* rgb */ color: rgb(49, 123, 202);
/* oklch */ color: oklch(57.6% 0.142 252.8);
Tailwind
colors: {
  custom: {
    50: '#7ea0da',
    500: '#317bca',
    950: '#000000',
  },
}
SCSS
$custom: #317bca;
$custom-light: #7ea0da;
$custom-dark: #000000;
JSON
{
  "hex": "#317bca",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 202
  },
  "hsl": {
    "h": 210.98,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57633,
    "c": 0.14187,
    "h": 252.8
  },
  "luminance": 0.19083
}

Semantic roles & 50–950 ramp

primary
#317BCA
secondary
#CFAD88
accent
#9744E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #317BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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