#317398#317398

#317398 is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.0% C 0.088 H 236.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#317398
RGBrgb(49, 115, 152)
HSLhsl(202, 51%, 39%)
HSVhsv(202, 68%, 60%)
CMYKcmyk(67.8%, 24.3%, 0%, 40.4%)
CIE-LABlab(45.88, -8.69, -26.20)
CIE-LCHlch(45.88, 27.61, 251.64°)
OKLaboklab(52.95% -0.0488 -0.0736)
OKLCHoklch(52.95% 0.088 236.4)
XYZxyz(13.0627, 15.1801, 31.9413)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317398 #985631
analogous
#31988A #317398 #314098
triadic
#317398 #983173 #739831
tetradic
#317398 #8A3198 #985631 #409831
square
#317398 #8A3198 #985631 #409831
split-complementary
#317398 #983140 #988A31
monochromatic
#132D3B #22506A #317398 #4495C3 #72AFD2

Accessibility & contrast

On white

5.20
#317398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#317398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317398
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317398#FFFFFF#000000##FFFFFF
##3173981.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61729A
Deuteranopia (green-blind)
#536897
Tritanopia (blue-blind)
#007D80
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #317398;
/* rgb */ color: rgb(49, 115, 152);
/* oklch */ color: oklch(53.0% 0.088 236.4);
Tailwind
colors: {
  custom: {
    50: '#759bb6',
    500: '#317398',
    950: '#000000',
  },
}
SCSS
$custom: #317398;
$custom-light: #759bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#317398",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 152
  },
  "hsl": {
    "h": 201.553,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.52953,
    "c": 0.08834,
    "h": 236.4
  },
  "luminance": 0.15181
}

Semantic roles & 50–950 ramp

primary
#317398
secondary
#B9876B
accent
#804DDB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #317398

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

Preview Lab → · Contrast checker → · Palette generator →

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