#315FA0#315FA0

#315FA0 is a mid, moderate blue. Relative luminance 0.114; OKLCH L 48.6% C 0.116 H 257.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#315FA0
RGBrgb(49, 95, 160)
HSLhsl(215, 53%, 41%)
HSVhsv(215, 69%, 63%)
CMYKcmyk(69.4%, 40.6%, 0%, 37.3%)
CIE-LABlab(40.20, 6.48, -39.88)
CIE-LCHlch(40.20, 40.40, 279.23°)
OKLaboklab(48.62% -0.0254 -0.1136)
OKLCHoklch(48.62% 0.116 257.4)
XYZxyz(11.7017, 11.3742, 34.8296)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315FA0 #A07231
analogous
#3196A0 #315FA0 #3A31A0
triadic
#315FA0 #A0315F #5FA031
tetradic
#315FA0 #A03196 #A07231 #31A03A
square
#315FA0 #A03196 #A07231 #31A03A
split-complementary
#315FA0 #A03A31 #96A031
monochromatic
#142742 #234371 #315FA0 #477CC7 #769ED5

Accessibility & contrast

On white

6.41
#315FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#315FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315FA0
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315FA0#FFFFFF#000000##FFFFFF
##315FA01.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4164A3
Deuteranopia (green-blind)
#305A9F
Tritanopia (blue-blind)
#006E77
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #315fa0;
/* rgb */ color: rgb(49, 95, 160);
/* oklch */ color: oklch(48.6% 0.116 257.4);
Tailwind
colors: {
  custom: {
    50: '#768cbc',
    500: '#315fa0',
    950: '#000000',
  },
}
SCSS
$custom: #315fa0;
$custom-light: #768cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#315fa0",
  "rgb": {
    "r": 49,
    "g": 95,
    "b": 160
  },
  "hsl": {
    "h": 215.135,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48624,
    "c": 0.11646,
    "h": 257.4
  },
  "luminance": 0.11375
}

Semantic roles & 50–950 ramp

primary
#315FA0
secondary
#BD9D70
accent
#A04BDD
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #315FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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