#315CA9#315CA9

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

Color values

HEX#315CA9
RGBrgb(49, 92, 169)
HSLhsl(219, 55%, 43%)
HSVhsv(219, 71%, 66%)
CMYKcmyk(71%, 45.6%, 0%, 33.7%)
CIE-LABlab(39.87, 11.78, -45.76)
CIE-LCHlch(39.87, 47.25, 284.43°)
OKLaboklab(48.54% -0.0207 -0.131)
OKLCHoklch(48.54% 0.133 261)
XYZxyz(12.2526, 11.1706, 39.0388)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315CA9 #A97E31
analogous
#3198A9 #315CA9 #4231A9
triadic
#315CA9 #A9315C #5CA931
tetradic
#315CA9 #A93198 #A97E31 #31A942
square
#315CA9 #A93198 #A97E31 #31A942
split-complementary
#315CA9 #A94231 #98A931
monochromatic
#15284A #23427A #315CA9 #4C7ACB #7C9DD9

Accessibility & contrast

On white

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

On black

3.23
#315CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##315CA9#FFFFFF#000000##FFFFFF
##315CA91.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3564AC
Deuteranopia (green-blind)
#1E59A7
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #315ca9;
/* rgb */ color: rgb(49, 92, 169);
/* oklch */ color: oklch(48.5% 0.133 261.0);
Tailwind
colors: {
  custom: {
    50: '#7889c3',
    500: '#315ca9',
    950: '#000000',
  },
}
SCSS
$custom: #315ca9;
$custom-light: #7889c3;
$custom-dark: #000000;
JSON
{
  "hex": "#315ca9",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 169
  },
  "hsl": {
    "h": 218.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48538,
    "c": 0.1326,
    "h": 261
  },
  "luminance": 0.11172
}

Semantic roles & 50–950 ramp

primary
#315CA9
secondary
#C1A674
accent
#A949DE
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #315CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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