#315295#315295

#315295 is a dark, moderate blue. Relative luminance 0.089; OKLCH L 44.9% C 0.116 H 262.8°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#315295
RGBrgb(49, 82, 149)
HSLhsl(220, 51%, 39%)
HSVhsv(220, 67%, 58%)
CMYKcmyk(67.1%, 45%, 0%, 41.6%)
CIE-LABlab(35.71, 10.84, -40.45)
CIE-LCHlch(35.71, 41.88, 285.00°)
OKLaboklab(44.93% -0.0145 -0.1155)
OKLCHoklch(44.93% 0.116 262.8)
XYZxyz(9.7068, 8.8565, 29.6259)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315295 #957431
analogous
#318495 #315295 #423195
triadic
#315295 #953152 #529531
tetradic
#315295 #953184 #957431 #319542
square
#315295 #953184 #957431 #319542
split-complementary
#315295 #954231 #849531
monochromatic
#131F39 #223967 #315295 #426CC1 #7090D0

Accessibility & contrast

On white

7.58
#315295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#315295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315295
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315295#FFFFFF#000000##FFFFFF
##3152951.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325998
Deuteranopia (green-blind)
#215094
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #315295;
/* rgb */ color: rgb(49, 82, 149);
/* oklch */ color: oklch(44.9% 0.116 262.8);
Tailwind
colors: {
  custom: {
    50: '#7482b4',
    500: '#315295',
    950: '#000000',
  },
}
SCSS
$custom: #315295;
$custom-light: #7482b4;
$custom-dark: #000000;
JSON
{
  "hex": "#315295",
  "rgb": {
    "r": 49,
    "g": 82,
    "b": 149
  },
  "hsl": {
    "h": 220.2,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44933,
    "c": 0.11644,
    "h": 262.8
  },
  "luminance": 0.08857
}

Semantic roles & 50–950 ramp

primary
#315295
secondary
#B89E6A
accent
#AC4EDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #315295

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

Preview Lab → · Contrast checker → · Palette generator →

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