#315487#315487

#315487 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.5% C 0.094 H 257.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#315487
RGBrgb(49, 84, 135)
HSLhsl(216, 47%, 36%)
HSVhsv(216, 64%, 53%)
CMYKcmyk(63.7%, 37.8%, 0%, 47.1%)
CIE-LABlab(35.48, 4.36, -32.28)
CIE-LCHlch(35.48, 32.58, 277.69°)
OKLaboklab(44.49% -0.0198 -0.0916)
OKLCHoklch(44.49% 0.094 257.8)
XYZxyz(8.8086, 8.7421, 24.1402)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315487 #876431
analogous
#317F87 #315487 #393187
triadic
#315487 #873154 #548731
tetradic
#315487 #87317F #876431 #318739
square
#315487 #87317F #876431 #318739
split-complementary
#315487 #873931 #7F8731
monochromatic
#101C2D #21385A #315487 #4170B4 #6A90C9

Accessibility & contrast

On white

7.64
#315487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#315487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315487
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315487#FFFFFF#000000##FFFFFF
##3154871.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5889
Deuteranopia (green-blind)
#325086
Tritanopia (blue-blind)
#006067
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #315487;
/* rgb */ color: rgb(49, 84, 135);
/* oklch */ color: oklch(44.5% 0.094 257.8);
Tailwind
colors: {
  custom: {
    50: '#7283aa',
    500: '#315487',
    950: '#000000',
  },
}
SCSS
$custom: #315487;
$custom-light: #7283aa;
$custom-dark: #000000;
JSON
{
  "hex": "#315487",
  "rgb": {
    "r": 49,
    "g": 84,
    "b": 135
  },
  "hsl": {
    "h": 215.581,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44493,
    "c": 0.09369,
    "h": 257.8
  },
  "luminance": 0.08743
}

Semantic roles & 50–950 ramp

primary
#315487
secondary
#B09164
accent
#A051D6
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #315487

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

Preview Lab → · Contrast checker → · Palette generator →

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