#315CAA#315CAA

#315CAA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.6% C 0.134 H 261.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#315CAA
RGBrgb(49, 92, 170)
HSLhsl(219, 55%, 43%)
HSVhsv(219, 71%, 67%)
CMYKcmyk(71.2%, 45.9%, 0%, 33.3%)
CIE-LABlab(39.93, 12.15, -46.25)
CIE-LCHlch(39.93, 47.82, 284.72°)
OKLaboklab(48.61% -0.0205 -0.1324)
OKLCHoklch(48.61% 0.134 261.2)
XYZxyz(12.3469, 11.2082, 39.5351)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315CAA #AA7F31
analogous
#3198AA #315CAA #4331AA
triadic
#315CAA #AA315C #5CAA31
tetradic
#315CAA #AA3198 #AA7F31 #31AA43
square
#315CAA #AA3198 #AA7F31 #31AA43
split-complementary
#315CAA #AA4331 #98AA31
monochromatic
#16294B #23427A #315CAA #4D7ACC #7C9DD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##315CAA#FFFFFF#000000##FFFFFF
##315CAA1.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)
#3564AD
Deuteranopia (green-blind)
#1C59A8
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #315caa;
/* rgb */ color: rgb(49, 92, 170);
/* oklch */ color: oklch(48.6% 0.134 261.2);
Tailwind
colors: {
  custom: {
    50: '#7889c4',
    500: '#315caa',
    950: '#000000',
  },
}
SCSS
$custom: #315caa;
$custom-light: #7889c4;
$custom-dark: #000000;
JSON
{
  "hex": "#315caa",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 170
  },
  "hsl": {
    "h": 218.678,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48607,
    "c": 0.13401,
    "h": 261.2
  },
  "luminance": 0.1121
}

Semantic roles & 50–950 ramp

primary
#315CAA
secondary
#C2A775
accent
#AA49DF
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #315CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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