#315CBD#315CBD

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

Color values

HEX#315CBD
RGBrgb(49, 92, 189)
HSLhsl(222, 59%, 47%)
HSVhsv(222, 74%, 74%)
CMYKcmyk(74.1%, 51.3%, 0%, 25.9%)
CIE-LABlab(41.18, 19.30, -55.39)
CIE-LCHlch(41.18, 58.66, 289.21°)
OKLaboklab(49.97% -0.0178 -0.1593)
OKLCHoklch(49.97% 0.16 263.6)
XYZxyz(14.2758, 11.9798, 49.6942)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315CBD #BD9231
analogous
#31A2BD #315CBD #4C31BD
triadic
#315CBD #BD315C #5CBD31
tetradic
#315CBD #BD31A2 #BD9231 #31BD4C
square
#315CBD #BD31A2 #BD9231 #31BD4C
split-complementary
#315CBD #BD4C31 #A2BD31
monochromatic
#182D5C #24448C #315CBD #587ED4 #88A3E0

Accessibility & contrast

On white

6.18
#315CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#315CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315CBD
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315CBD#FFFFFF#000000##FFFFFF
##315CBD1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E68C0
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #315cbd;
/* rgb */ color: rgb(49, 92, 189);
/* oklch */ color: oklch(50.0% 0.160 263.6);
Tailwind
colors: {
  custom: {
    50: '#7c89d1',
    500: '#315cbd',
    950: '#000000',
  },
}
SCSS
$custom: #315cbd;
$custom-light: #7c89d1;
$custom-dark: #000000;
JSON
{
  "hex": "#315cbd",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 189
  },
  "hsl": {
    "h": 221.571,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49969,
    "c": 0.16031,
    "h": 263.6
  },
  "luminance": 0.11981
}

Semantic roles & 50–950 ramp

primary
#315CBD
secondary
#CAB380
accent
#B246E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #315CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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