#315E9E#315E9E

#315E9E is a mid, moderate blue. Relative luminance 0.111; OKLCH L 48.3% C 0.115 H 257.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#315E9E
RGBrgb(49, 94, 158)
HSLhsl(215, 53%, 41%)
HSVhsv(215, 69%, 62%)
CMYKcmyk(69%, 40.5%, 0%, 38%)
CIE-LABlab(39.79, 6.38, -39.34)
CIE-LCHlch(39.79, 39.86, 279.21°)
OKLaboklab(48.27% -0.0249 -0.1121)
OKLCHoklch(48.27% 0.115 257.5)
XYZxyz(11.4387, 11.1258, 33.8858)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E9E #9E7131
analogous
#31949E #315E9E #3A319E
triadic
#315E9E #9E315E #5E9E31
tetradic
#315E9E #9E3194 #9E7131 #319E3A
square
#315E9E #9E3194 #9E7131 #319E3A
split-complementary
#315E9E #9E3A31 #949E31
monochromatic
#142641 #23426F #315E9E #467BC6 #759CD4

Accessibility & contrast

On white

6.51
#315E9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#315E9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315E9E
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E9E#FFFFFF#000000##FFFFFF
##315E9E1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4163A1
Deuteranopia (green-blind)
#30599D
Tritanopia (blue-blind)
#006D76
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #315e9e;
/* rgb */ color: rgb(49, 94, 158);
/* oklch */ color: oklch(48.3% 0.115 257.5);
Tailwind
colors: {
  custom: {
    50: '#768bbb',
    500: '#315e9e',
    950: '#000000',
  },
}
SCSS
$custom: #315e9e;
$custom-light: #768bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#315e9e",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 158
  },
  "hsl": {
    "h": 215.229,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48266,
    "c": 0.11483,
    "h": 257.5
  },
  "luminance": 0.11127
}

Semantic roles & 50–950 ramp

primary
#315E9E
secondary
#BC9C6E
accent
#A04CDC
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #315E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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