#315CB9#315CB9

#315CB9 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.7% C 0.155 H 263.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#315CB9
RGBrgb(49, 92, 185)
HSLhsl(221, 58%, 46%)
HSVhsv(221, 74%, 73%)
CMYKcmyk(73.5%, 50.3%, 0%, 27.5%)
CIE-LABlab(40.91, 17.79, -53.50)
CIE-LCHlch(40.91, 56.38, 288.40°)
OKLaboklab(49.67% -0.0182 -0.1537)
OKLCHoklch(49.67% 0.155 263.2)
XYZxyz(13.8476, 11.8085, 47.4390)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315CB9 #B98E31
analogous
#31A0B9 #315CB9 #4A31B9
triadic
#315CB9 #B9315C #5CB931
tetradic
#315CB9 #B931A0 #B98E31 #31B94A
square
#315CB9 #B931A0 #B98E31 #31B94A
split-complementary
#315CB9 #B94A31 #A0B931
monochromatic
#172C58 #244489 #315CB9 #557DD2 #86A2DF

Accessibility & contrast

On white

6.25
#315CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#315CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315CB9
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315CB9#FFFFFF#000000##FFFFFF
##315CB91.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2467BC
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #315cb9;
/* rgb */ color: rgb(49, 92, 185);
/* oklch */ color: oklch(49.7% 0.155 263.2);
Tailwind
colors: {
  custom: {
    50: '#7b89cf',
    500: '#315cb9',
    950: '#000000',
  },
}
SCSS
$custom: #315cb9;
$custom-light: #7b89cf;
$custom-dark: #000000;
JSON
{
  "hex": "#315cb9",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 185
  },
  "hsl": {
    "h": 221.029,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49673,
    "c": 0.15483,
    "h": 263.2
  },
  "luminance": 0.1181
}

Semantic roles & 50–950 ramp

primary
#315CB9
secondary
#C8B17D
accent
#B046E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #315CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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