#315AB3#315AB3

#315AB3 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.8% C 0.149 H 263.3°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#315AB3
RGBrgb(49, 90, 179)
HSLhsl(221, 57%, 45%)
HSVhsv(221, 73%, 70%)
CMYKcmyk(72.6%, 49.7%, 0%, 29.8%)
CIE-LABlab(39.95, 16.84, -51.53)
CIE-LCHlch(39.95, 54.22, 288.10°)
OKLaboklab(48.81% -0.0173 -0.148)
OKLCHoklch(48.81% 0.149 263.3)
XYZxyz(13.0566, 11.2186, 44.1164)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315AB3 #B38A31
analogous
#319BB3 #315AB3 #4931B3
triadic
#315AB3 #B3315A #5AB331
tetradic
#315AB3 #B3319B #B38A31 #31B349
square
#315AB3 #B3319B #B38A31 #31B349
split-complementary
#315AB3 #B34931 #9BB331
monochromatic
#172A53 #244283 #315AB3 #5279D0 #829EDD

Accessibility & contrast

On white

6.47
#315AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #315AB3
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315AB3#FFFFFF#000000##FFFFFF
##315AB31.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2764B6
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #315ab3;
/* rgb */ color: rgb(49, 90, 179);
/* oklch */ color: oklch(48.8% 0.149 263.3);
Tailwind
colors: {
  custom: {
    50: '#7a88ca',
    500: '#315ab3',
    950: '#000000',
  },
}
SCSS
$custom: #315ab3;
$custom-light: #7a88ca;
$custom-dark: #000000;
JSON
{
  "hex": "#315ab3",
  "rgb": {
    "r": 49,
    "g": 90,
    "b": 179
  },
  "hsl": {
    "h": 221.077,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48808,
    "c": 0.14901,
    "h": 263.3
  },
  "luminance": 0.1122
}

Semantic roles & 50–950 ramp

primary
#315AB3
secondary
#C6AE7A
accent
#B048E0
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #315AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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