#315CBE#315CBE

#315CBE is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.0% C 0.162 H 263.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#315CBE
RGBrgb(49, 92, 190)
HSLhsl(222, 59%, 47%)
HSVhsv(222, 74%, 75%)
CMYKcmyk(74.2%, 51.6%, 0%, 25.5%)
CIE-LABlab(41.25, 19.67, -55.86)
CIE-LCHlch(41.25, 59.23, 289.40°)
OKLaboklab(50.04% -0.0176 -0.1607)
OKLCHoklch(50.04% 0.162 263.7)
XYZxyz(14.3847, 12.0234, 50.2678)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315CBE #BE9331
analogous
#31A3BE #315CBE #4C31BE
triadic
#315CBE #BE315C #5CBE31
tetradic
#315CBE #BE31A3 #BE9331 #31BE4C
square
#315CBE #BE31A3 #BE9331 #31BE4C
split-complementary
#315CBE #BE4C31 #A3BE31
monochromatic
#182D5D #24448D #315CBE #587ED4 #89A4E1

Accessibility & contrast

On white

6.17
#315CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#315CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315CBE
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315CBE#FFFFFF#000000##FFFFFF
##315CBE1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C68C2
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #315cbe;
/* rgb */ color: rgb(49, 92, 190);
/* oklch */ color: oklch(50.0% 0.162 263.7);
Tailwind
colors: {
  custom: {
    50: '#7c89d2',
    500: '#315cbe',
    950: '#000000',
  },
}
SCSS
$custom: #315cbe;
$custom-light: #7c89d2;
$custom-dark: #000000;
JSON
{
  "hex": "#315cbe",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 190
  },
  "hsl": {
    "h": 221.702,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50044,
    "c": 0.16167,
    "h": 263.7
  },
  "luminance": 0.12025
}

Semantic roles & 50–950 ramp

primary
#315CBE
secondary
#CAB480
accent
#B246E2
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #315CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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