#315BAE#315BAE

#315BAE is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.7% C 0.141 H 262.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#315BAE
RGBrgb(49, 91, 174)
HSLhsl(220, 56%, 44%)
HSVhsv(220, 72%, 68%)
CMYKcmyk(71.8%, 47.7%, 0%, 31.8%)
CIE-LABlab(39.90, 14.31, -48.67)
CIE-LCHlch(39.90, 50.73, 286.38°)
OKLaboklab(48.67% -0.0189 -0.1395)
OKLCHoklch(48.67% 0.141 262.3)
XYZxyz(12.6450, 11.1898, 41.5296)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315BAE #AE8431
analogous
#3199AE #315BAE #4531AE
triadic
#315BAE #AE315B #5BAE31
tetradic
#315BAE #AE3199 #AE8431 #31AE45
square
#315BAE #AE3199 #AE8431 #31AE45
split-complementary
#315BAE #AE4531 #99AE31
monochromatic
#16294E #24427E #315BAE #4F79CD #7F9EDB

Accessibility & contrast

On white

6.49
#315BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #315BAE
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315BAE#FFFFFF#000000##FFFFFF
##315BAE1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F64B1
Deuteranopia (green-blind)
#0F59AC
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #315bae;
/* rgb */ color: rgb(49, 91, 174);
/* oklch */ color: oklch(48.7% 0.141 262.3);
Tailwind
colors: {
  custom: {
    50: '#7988c7',
    500: '#315bae',
    950: '#000000',
  },
}
SCSS
$custom: #315bae;
$custom-light: #7988c7;
$custom-dark: #000000;
JSON
{
  "hex": "#315bae",
  "rgb": {
    "r": 49,
    "g": 91,
    "b": 174
  },
  "hsl": {
    "h": 219.84,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48665,
    "c": 0.14082,
    "h": 262.3
  },
  "luminance": 0.11191
}

Semantic roles & 50–950 ramp

primary
#315BAE
secondary
#C4AA77
accent
#AD48DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #315BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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