#315EBD#315EBD

#315EBD is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.4% C 0.158 H 262.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#315EBD
RGBrgb(49, 94, 189)
HSLhsl(221, 59%, 47%)
HSVhsv(221, 74%, 74%)
CMYKcmyk(74.1%, 50.3%, 0%, 25.9%)
CIE-LABlab(41.74, 18.00, -54.50)
CIE-LCHlch(41.74, 57.39, 288.28°)
OKLaboklab(50.39% -0.0194 -0.1567)
OKLCHoklch(50.39% 0.158 262.9)
XYZxyz(14.4514, 12.3309, 49.7527)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315EBD #BD9031
analogous
#31A4BD #315EBD #4A31BD
triadic
#315EBD #BD315E #5EBD31
tetradic
#315EBD #BD31A4 #BD9031 #31BD4A
square
#315EBD #BD31A4 #BD9031 #31BD4A
split-complementary
#315EBD #BD4A31 #A4BD31
monochromatic
#182E5C #24468C #315EBD #587FD4 #88A4E0

Accessibility & contrast

On white

6.06
#315EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#315EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315EBD
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315EBD#FFFFFF#000000##FFFFFF
##315EBD1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2569C0
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #315ebd;
/* rgb */ color: rgb(49, 94, 189);
/* oklch */ color: oklch(50.4% 0.158 262.9);
Tailwind
colors: {
  custom: {
    50: '#7c8bd1',
    500: '#315ebd',
    950: '#000000',
  },
}
SCSS
$custom: #315ebd;
$custom-light: #7c8bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#315ebd",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 189
  },
  "hsl": {
    "h": 220.714,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50391,
    "c": 0.15785,
    "h": 262.9
  },
  "luminance": 0.12332
}

Semantic roles & 50–950 ramp

primary
#315EBD
secondary
#CAB280
accent
#B046E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #315EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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