#317098#317098

#317098 is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.2% C 0.090 H 239.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#317098
RGBrgb(49, 112, 152)
HSLhsl(203, 51%, 39%)
HSVhsv(203, 68%, 60%)
CMYKcmyk(67.8%, 26.3%, 0%, 40.4%)
CIE-LABlab(44.95, -6.93, -27.65)
CIE-LCHlch(44.95, 28.50, 255.93°)
OKLaboklab(52.22% -0.0456 -0.0778)
OKLCHoklch(52.22% 0.09 239.6)
XYZxyz(12.7261, 14.5070, 31.8291)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317098 #985931
analogous
#31988D #317098 #313D98
triadic
#317098 #983170 #709831
tetradic
#317098 #8D3198 #985931 #3D9831
square
#317098 #8D3198 #985931 #3D9831
split-complementary
#317098 #98313D #988D31
monochromatic
#132C3B #224E6A #317098 #4491C3 #72ACD2

Accessibility & contrast

On white

5.38
#317098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#317098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317098
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317098#FFFFFF#000000##FFFFFF
##3170981.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E709A
Deuteranopia (green-blind)
#4F6697
Tritanopia (blue-blind)
#007A7E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #317098;
/* rgb */ color: rgb(49, 112, 152);
/* oklch */ color: oklch(52.2% 0.090 239.6);
Tailwind
colors: {
  custom: {
    50: '#7599b6',
    500: '#317098',
    950: '#000000',
  },
}
SCSS
$custom: #317098;
$custom-light: #7599b6;
$custom-dark: #000000;
JSON
{
  "hex": "#317098",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 152
  },
  "hsl": {
    "h": 203.301,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.52216,
    "c": 0.09018,
    "h": 239.6
  },
  "luminance": 0.14508
}

Semantic roles & 50–950 ramp

primary
#317098
secondary
#B98A6B
accent
#844DDB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #317098

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

Preview Lab → · Contrast checker → · Palette generator →

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