#315CBF#315CBF

#315CBF is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.1% C 0.163 H 263.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#315CBF
RGBrgb(49, 92, 191)
HSLhsl(222, 59%, 47%)
HSVhsv(222, 74%, 75%)
CMYKcmyk(74.3%, 51.8%, 0%, 25.1%)
CIE-LABlab(41.32, 20.05, -56.33)
CIE-LCHlch(41.32, 59.79, 289.59°)
OKLaboklab(50.12% -0.0175 -0.1621)
OKLCHoklch(50.12% 0.163 263.8)
XYZxyz(14.4944, 12.0673, 50.8454)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315CBF #BF9431
analogous
#31A3BF #315CBF #4D31BF
triadic
#315CBF #BF315C #5CBF31
tetradic
#315CBF #BF31A3 #BF9431 #31BF4D
square
#315CBF #BF31A3 #BF9431 #31BF4D
split-complementary
#315CBF #BF4D31 #A3BF31
monochromatic
#182D5E #25458E #315CBF #597ED4 #8AA4E1

Accessibility & contrast

On white

6.15
#315CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#315CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315CBF
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315CBF#FFFFFF#000000##FFFFFF
##315CBF1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A68C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #315cbf;
/* rgb */ color: rgb(49, 92, 191);
/* oklch */ color: oklch(50.1% 0.163 263.8);
Tailwind
colors: {
  custom: {
    50: '#7d89d3',
    500: '#315cbf',
    950: '#000000',
  },
}
SCSS
$custom: #315cbf;
$custom-light: #7d89d3;
$custom-dark: #000000;
JSON
{
  "hex": "#315cbf",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 191
  },
  "hsl": {
    "h": 221.831,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50119,
    "c": 0.16304,
    "h": 263.8
  },
  "luminance": 0.12069
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #315CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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