#315BCA#315BCA

#315BCA is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.8% C 0.179 H 264.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#315BCA
RGBrgb(49, 91, 202)
HSLhsl(224, 61%, 49%)
HSVhsv(224, 76%, 79%)
CMYKcmyk(75.7%, 55%, 0%, 20.8%)
CIE-LABlab(41.84, 24.82, -61.87)
CIE-LCHlch(41.84, 66.66, 291.86°)
OKLaboklab(50.76% -0.0158 -0.1784)
OKLCHoklch(50.76% 0.179 264.9)
XYZxyz(15.6646, 12.3977, 57.4331)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315BCA #CAA031
analogous
#31A8CA #315BCA #5331CA
triadic
#315BCA #CA315B #5BCA31
tetradic
#315BCA #CA31A8 #CAA031 #31CA53
square
#315BCA #CA31A8 #CAA031 #31CA53
split-complementary
#315BCA #CA5331 #A8CA31
monochromatic
#192F67 #254599 #315BCA #6081D8 #91A8E4

Accessibility & contrast

On white

6.03
#315BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#315BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315BCA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315BCA#FFFFFF#000000##FFFFFF
##315BCA1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #315bca;
/* rgb */ color: rgb(49, 91, 202);
/* oklch */ color: oklch(50.8% 0.179 264.9);
Tailwind
colors: {
  custom: {
    50: '#7f88db',
    500: '#315bca',
    950: '#000000',
  },
}
SCSS
$custom: #315bca;
$custom-light: #7f88db;
$custom-dark: #000000;
JSON
{
  "hex": "#315bca",
  "rgb": {
    "r": 49,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 223.529,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50761,
    "c": 0.17909,
    "h": 264.9
  },
  "luminance": 0.12399
}

Semantic roles & 50–950 ramp

primary
#315BCA
secondary
#CFBB88
accent
#B844E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #315BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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