#315EA0#315EA0

#315EA0 is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.4% C 0.118 H 258.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#315EA0
RGBrgb(49, 94, 160)
HSLhsl(216, 53%, 41%)
HSVhsv(216, 69%, 63%)
CMYKcmyk(69.4%, 41.3%, 0%, 37.3%)
CIE-LABlab(39.91, 7.12, -40.35)
CIE-LCHlch(39.91, 40.97, 280.01°)
OKLaboklab(48.39% -0.0244 -0.115)
OKLCHoklch(48.39% 0.118 258)
XYZxyz(11.6122, 11.1953, 34.7998)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315EA0 #A07331
analogous
#3195A0 #315EA0 #3C31A0
triadic
#315EA0 #A0315E #5EA031
tetradic
#315EA0 #A03195 #A07331 #31A03C
square
#315EA0 #A03195 #A07331 #31A03C
split-complementary
#315EA0 #A03C31 #95A031
monochromatic
#142742 #234271 #315EA0 #477BC7 #769DD5

Accessibility & contrast

On white

6.48
#315EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#315EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315EA0
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315EA0#FFFFFF#000000##FFFFFF
##315EA01.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F64A3
Deuteranopia (green-blind)
#2E599F
Tritanopia (blue-blind)
#006D77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #315ea0;
/* rgb */ color: rgb(49, 94, 160);
/* oklch */ color: oklch(48.4% 0.118 258.0);
Tailwind
colors: {
  custom: {
    50: '#768bbc',
    500: '#315ea0',
    950: '#000000',
  },
}
SCSS
$custom: #315ea0;
$custom-light: #768bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#315ea0",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 160
  },
  "hsl": {
    "h": 215.676,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48394,
    "c": 0.11761,
    "h": 258
  },
  "luminance": 0.11196
}

Semantic roles & 50–950 ramp

primary
#315EA0
secondary
#BD9E70
accent
#A24BDD
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #315EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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