#315D9E#315D9E

#315D9E is a mid, moderate blue. Relative luminance 0.110; OKLCH L 48.0% C 0.116 H 258.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#315D9E
RGBrgb(49, 93, 158)
HSLhsl(216, 53%, 41%)
HSVhsv(216, 69%, 62%)
CMYKcmyk(69%, 41.1%, 0%, 38%)
CIE-LABlab(39.49, 7.02, -39.81)
CIE-LCHlch(39.49, 40.43, 280.00°)
OKLaboklab(48.04% -0.0239 -0.1135)
OKLCHoklch(48.04% 0.116 258.1)
XYZxyz(11.3503, 10.9491, 33.8563)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315D9E #9E7231
analogous
#31939E #315D9E #3B319E
triadic
#315D9E #9E315D #5D9E31
tetradic
#315D9E #9E3193 #9E7231 #319E3B
square
#315D9E #9E3193 #9E7231 #319E3B
split-complementary
#315D9E #9E3B31 #939E31
monochromatic
#142641 #23426F #315D9E #467AC6 #759CD4

Accessibility & contrast

On white

6.58
#315D9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#315D9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315D9E
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315D9E#FFFFFF#000000##FFFFFF
##315D9E1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F63A1
Deuteranopia (green-blind)
#2E589D
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #315d9e;
/* rgb */ color: rgb(49, 93, 158);
/* oklch */ color: oklch(48.0% 0.116 258.1);
Tailwind
colors: {
  custom: {
    50: '#768abb',
    500: '#315d9e',
    950: '#000000',
  },
}
SCSS
$custom: #315d9e;
$custom-light: #768abb;
$custom-dark: #000000;
JSON
{
  "hex": "#315d9e",
  "rgb": {
    "r": 49,
    "g": 93,
    "b": 158
  },
  "hsl": {
    "h": 215.78,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48036,
    "c": 0.11598,
    "h": 258.1
  },
  "luminance": 0.1095
}

Semantic roles & 50–950 ramp

primary
#315D9E
secondary
#BC9D6E
accent
#A24CDC
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #315D9E

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

Preview Lab → · Contrast checker → · Palette generator →

#315D9E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva