#315697#315697

#315697 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 46.0% C 0.114 H 260.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#315697
RGBrgb(49, 86, 151)
HSLhsl(218, 51%, 39%)
HSVhsv(218, 68%, 59%)
CMYKcmyk(67.5%, 43%, 0%, 40.8%)
CIE-LABlab(37.01, 8.96, -39.58)
CIE-LCHlch(37.01, 40.58, 282.75°)
OKLaboklab(45.98% -0.0182 -0.1129)
OKLCHoklch(45.98% 0.114 260.8)
XYZxyz(10.1783, 9.5419, 30.5775)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315697 #977231
analogous
#318997 #315697 #3F3197
triadic
#315697 #973156 #569731
tetradic
#315697 #973189 #977231 #31973F
square
#315697 #973189 #977231 #31973F
split-complementary
#315697 #973F31 #899731
monochromatic
#13213B #223C69 #315697 #4371C2 #7194D1

Accessibility & contrast

On white

7.22
#315697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#315697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315697
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315697#FFFFFF#000000##FFFFFF
##3156971.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#285396
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #315697;
/* rgb */ color: rgb(49, 86, 151);
/* oklch */ color: oklch(46.0% 0.114 260.8);
Tailwind
colors: {
  custom: {
    50: '#7485b6',
    500: '#315697',
    950: '#000000',
  },
}
SCSS
$custom: #315697;
$custom-light: #7485b6;
$custom-dark: #000000;
JSON
{
  "hex": "#315697",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 151
  },
  "hsl": {
    "h": 218.235,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45976,
    "c": 0.11438,
    "h": 260.8
  },
  "luminance": 0.09543
}

Semantic roles & 50–950 ramp

primary
#315697
secondary
#B99D6B
accent
#A74DDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315697

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

Preview Lab → · Contrast checker → · Palette generator →

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