#315EBC#315EBC

#315EBC is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.3% C 0.156 H 262.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#315EBC
RGBrgb(49, 94, 188)
HSLhsl(221, 59%, 46%)
HSVhsv(221, 74%, 74%)
CMYKcmyk(73.9%, 50%, 0%, 26.3%)
CIE-LABlab(41.67, 17.62, -54.02)
CIE-LCHlch(41.67, 56.83, 288.07°)
OKLaboklab(50.32% -0.0195 -0.1553)
OKLCHoklch(50.32% 0.156 262.8)
XYZxyz(14.3432, 12.2876, 49.1830)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315EBC #BC8F31
analogous
#31A4BC #315EBC #4A31BC
triadic
#315EBC #BC315E #5EBC31
tetradic
#315EBC #BC31A4 #BC8F31 #31BC4A
square
#315EBC #BC31A4 #BC8F31 #31BC4A
split-complementary
#315EBC #BC4A31 #A4BC31
monochromatic
#182D5B #24468B #315EBC #577FD3 #88A4E0

Accessibility & contrast

On white

6.07
#315EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#315EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315EBC
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315EBC#FFFFFF#000000##FFFFFF
##315EBC1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2669BF
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #315ebc;
/* rgb */ color: rgb(49, 94, 188);
/* oklch */ color: oklch(50.3% 0.156 262.8);
Tailwind
colors: {
  custom: {
    50: '#7c8bd1',
    500: '#315ebc',
    950: '#000000',
  },
}
SCSS
$custom: #315ebc;
$custom-light: #7c8bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#315ebc",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 188
  },
  "hsl": {
    "h": 220.576,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50317,
    "c": 0.15648,
    "h": 262.8
  },
  "luminance": 0.12289
}

Semantic roles & 50–950 ramp

primary
#315EBC
secondary
#CAB27F
accent
#AF46E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #315EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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