#317284#317284

#317284 is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 51.8% C 0.071 H 218.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#317284
RGBrgb(49, 114, 132)
HSLhsl(193, 46%, 35%)
HSVhsv(193, 63%, 52%)
CMYKcmyk(62.9%, 13.6%, 0%, 48.2%)
CIE-LABlab(44.73, -14.87, -16.09)
CIE-LCHlch(44.73, 21.90, 227.26°)
OKLaboklab(51.76% -0.0555 -0.0447)
OKLCHoklch(51.76% 0.071 218.8)
XYZxyz(11.4471, 14.3524, 23.9923)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317284 #844331
analogous
#31846C #317284 #314884
triadic
#317284 #843172 #728431
tetradic
#317284 #6C3184 #844331 #488431
square
#317284 #6C3184 #844331 #488431
split-complementary
#317284 #843148 #846C31
monochromatic
#10252B #204B57 #317284 #4299B1 #68B3C7

Accessibility & contrast

On white

5.43
#317284 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#317284 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317284
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317284#FFFFFF#000000##FFFFFF
##3172841.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676F85
Deuteranopia (green-blind)
#5B6684
Tritanopia (blue-blind)
#007878
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #317284;
/* rgb */ color: rgb(49, 114, 132);
/* oklch */ color: oklch(51.8% 0.071 218.8);
Tailwind
colors: {
  custom: {
    50: '#729aa7',
    500: '#317284',
    950: '#000000',
  },
}
SCSS
$custom: #317284;
$custom-light: #729aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#317284",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 132
  },
  "hsl": {
    "h": 193.012,
    "s": 45.856,
    "l": 35.49
  },
  "oklch": {
    "l": 0.51764,
    "c": 0.0713,
    "h": 218.8
  },
  "luminance": 0.14354
}

Semantic roles & 50–950 ramp

primary
#317284
secondary
#AE7362
accent
#6F52D6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #317284

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

Preview Lab → · Contrast checker → · Palette generator →

#317284 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva