#315DBF#315DBF

#315DBF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.3% C 0.162 H 263.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#315DBF
RGBrgb(49, 93, 191)
HSLhsl(221, 59%, 47%)
HSVhsv(221, 74%, 75%)
CMYKcmyk(74.3%, 51.3%, 0%, 25.1%)
CIE-LABlab(41.60, 19.40, -55.89)
CIE-LCHlch(41.60, 59.16, 289.14°)
OKLaboklab(50.33% -0.0184 -0.1608)
OKLCHoklch(50.33% 0.162 263.5)
XYZxyz(14.5816, 12.2417, 50.8745)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315DBF #BF9331
analogous
#31A4BF #315DBF #4C31BF
triadic
#315DBF #BF315D #5DBF31
tetradic
#315DBF #BF31A4 #BF9331 #31BF4C
square
#315DBF #BF31A4 #BF9331 #31BF4C
split-complementary
#315DBF #BF4C31 #A4BF31
monochromatic
#182E5E #25458E #315DBF #597FD4 #8AA5E1

Accessibility & contrast

On white

6.09
#315DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#315DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315DBF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315DBF#FFFFFF#000000##FFFFFF
##315DBF1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E69C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #315dbf;
/* rgb */ color: rgb(49, 93, 191);
/* oklch */ color: oklch(50.3% 0.162 263.5);
Tailwind
colors: {
  custom: {
    50: '#7c8ad3',
    500: '#315dbf',
    950: '#000000',
  },
}
SCSS
$custom: #315dbf;
$custom-light: #7c8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#315dbf",
  "rgb": {
    "r": 49,
    "g": 93,
    "b": 191
  },
  "hsl": {
    "h": 221.408,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50328,
    "c": 0.1618,
    "h": 263.5
  },
  "luminance": 0.12243
}

Semantic roles & 50–950 ramp

primary
#315DBF
secondary
#CBB481
accent
#B245E2
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #315DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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