#317299#317299

#317299 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.8% C 0.090 H 238.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#317299
RGBrgb(49, 114, 153)
HSLhsl(203, 51%, 40%)
HSVhsv(203, 68%, 60%)
CMYKcmyk(68%, 25.5%, 0%, 40%)
CIE-LABlab(45.62, -7.76, -27.20)
CIE-LCHlch(45.62, 28.29, 254.08°)
OKLaboklab(52.76% -0.0474 -0.0765)
OKLCHoklch(52.76% 0.09 238.2)
XYZxyz(13.0315, 14.9861, 32.3366)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317299 #995831
analogous
#31998C #317299 #313E99
triadic
#317299 #993172 #729931
tetradic
#317299 #8C3199 #995831 #3E9931
square
#317299 #8C3199 #995831 #3E9931
split-complementary
#317299 #99313E #998C31
monochromatic
#132D3C #224F6B #317299 #4493C3 #72AED2

Accessibility & contrast

On white

5.25
#317299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#317299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317299
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317299#FFFFFF#000000##FFFFFF
##3172991.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60729B
Deuteranopia (green-blind)
#526798
Tritanopia (blue-blind)
#007C7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317299;
/* rgb */ color: rgb(49, 114, 153);
/* oklch */ color: oklch(52.8% 0.090 238.2);
Tailwind
colors: {
  custom: {
    50: '#759ab7',
    500: '#317299',
    950: '#000000',
  },
}
SCSS
$custom: #317299;
$custom-light: #759ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#317299",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 153
  },
  "hsl": {
    "h": 202.5,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52758,
    "c": 0.09001,
    "h": 238.2
  },
  "luminance": 0.14988
}

Semantic roles & 50–950 ramp

primary
#317299
secondary
#BA896C
accent
#824DDB
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #317299

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

Preview Lab → · Contrast checker → · Palette generator →

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