#315694#315694

#315694 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.8% C 0.110 H 260.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#315694
RGBrgb(49, 86, 148)
HSLhsl(218, 50%, 39%)
HSVhsv(218, 67%, 58%)
CMYKcmyk(66.9%, 41.9%, 0%, 42%)
CIE-LABlab(36.83, 7.84, -38.05)
CIE-LCHlch(36.83, 38.85, 281.65°)
OKLaboklab(45.78% -0.0189 -0.1084)
OKLCHoklch(45.78% 0.11 260.1)
XYZxyz(9.9378, 9.4457, 29.3107)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315694 #946F31
analogous
#318794 #315694 #3D3194
triadic
#315694 #943156 #569431
tetradic
#315694 #943187 #946F31 #31943D
square
#315694 #943187 #946F31 #31943D
split-complementary
#315694 #943D31 #879431
monochromatic
#132138 #223B66 #315694 #4271C0 #7094D0

Accessibility & contrast

On white

7.27
#315694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#315694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315694
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315694#FFFFFF#000000##FFFFFF
##3156941.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5C96
Deuteranopia (green-blind)
#2B5293
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #315694;
/* rgb */ color: rgb(49, 86, 148);
/* oklch */ color: oklch(45.8% 0.110 260.1);
Tailwind
colors: {
  custom: {
    50: '#7485b4',
    500: '#315694',
    950: '#000000',
  },
}
SCSS
$custom: #315694;
$custom-light: #7485b4;
$custom-dark: #000000;
JSON
{
  "hex": "#315694",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 148
  },
  "hsl": {
    "h": 217.576,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45779,
    "c": 0.11007,
    "h": 260.1
  },
  "luminance": 0.09447
}

Semantic roles & 50–950 ramp

primary
#315694
secondary
#B79A69
accent
#A64EDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315694

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

Preview Lab → · Contrast checker → · Palette generator →

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