#315ADC#315ADC

#315ADC is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.0% C 0.204 H 266.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#315ADC
RGBrgb(49, 90, 220)
HSLhsl(226, 71%, 53%)
HSVhsv(226, 78%, 86%)
CMYKcmyk(77.7%, 59.1%, 0%, 13.7%)
CIE-LABlab(42.96, 32.13, -70.38)
CIE-LCHlch(42.96, 77.36, 294.54°)
OKLaboklab(52.03% -0.0143 -0.2034)
OKLCHoklch(52.03% 0.204 266)
XYZxyz(17.8365, 13.1305, 69.2907)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315ADC #DCB331
analogous
#31AFDC #315ADC #5D31DC
triadic
#315ADC #DC315A #5ADC31
tetradic
#315ADC #DC31AF #DCB331 #31DC5D
square
#315ADC #DC31AF #DCB331 #31DC5D
split-complementary
#315ADC #DC5D31 #AFDC31
monochromatic
#152E7D #1E42B2 #315ADC #6584E5 #9AAEEE

Accessibility & contrast

On white

5.79
#315ADC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#315ADC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315ADC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315ADC#FFFFFF#000000##FFFFFF
##315ADC1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#005ED9
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #315adc;
/* rgb */ color: rgb(49, 90, 220);
/* oklch */ color: oklch(52.0% 0.204 266.0);
Tailwind
colors: {
  custom: {
    50: '#8388e8',
    500: '#315adc',
    950: '#000000',
  },
}
SCSS
$custom: #315adc;
$custom-light: #8388e8;
$custom-dark: #000000;
JSON
{
  "hex": "#315adc",
  "rgb": {
    "r": 49,
    "g": 90,
    "b": 220
  },
  "hsl": {
    "h": 225.614,
    "s": 70.954,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52031,
    "c": 0.20389,
    "h": 266
  },
  "luminance": 0.13133
}

Semantic roles & 50–950 ramp

primary
#315ADC
secondary
#D9C88F
accent
#C33AEE
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0D0B16
muted
#7D7C84

Preview Lab

Preview with #315ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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