#315EBF#315EBF

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

Color values

HEX#315EBF
RGBrgb(49, 94, 191)
HSLhsl(221, 59%, 47%)
HSVhsv(221, 74%, 75%)
CMYKcmyk(74.3%, 50.8%, 0%, 25.1%)
CIE-LABlab(41.87, 18.75, -55.44)
CIE-LCHlch(41.87, 58.53, 288.69°)
OKLaboklab(50.54% -0.0192 -0.1594)
OKLCHoklch(50.54% 0.161 263.1)
XYZxyz(14.6699, 12.4183, 50.9039)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315EBF #BF9231
analogous
#31A5BF #315EBF #4B31BF
triadic
#315EBF #BF315E #5EBF31
tetradic
#315EBF #BF31A5 #BF9231 #31BF4B
square
#315EBF #BF31A5 #BF9231 #31BF4B
split-complementary
#315EBF #BF4B31 #A5BF31
monochromatic
#182E5E #25468E #315EBF #5980D4 #8AA5E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##315EBF#FFFFFF#000000##FFFFFF
##315EBF1.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)
#226AC2
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #315ebf;
/* rgb */ color: rgb(49, 94, 191);
/* oklch */ color: oklch(50.5% 0.161 263.1);
Tailwind
colors: {
  custom: {
    50: '#7c8bd3',
    500: '#315ebf',
    950: '#000000',
  },
}
SCSS
$custom: #315ebf;
$custom-light: #7c8bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#315ebf",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 191
  },
  "hsl": {
    "h": 220.986,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50538,
    "c": 0.16058,
    "h": 263.1
  },
  "luminance": 0.1242
}

Semantic roles & 50–950 ramp

primary
#315EBF
secondary
#CBB381
accent
#B145E2
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #315EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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