#315ABE#315ABE

#315ABE is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.6% C 0.164 H 264.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#315ABE
RGBrgb(49, 90, 190)
HSLhsl(223, 59%, 47%)
HSVhsv(223, 74%, 75%)
CMYKcmyk(74.2%, 52.6%, 0%, 25.5%)
CIE-LABlab(40.71, 20.98, -56.75)
CIE-LCHlch(40.71, 60.50, 290.29°)
OKLaboklab(49.63% -0.016 -0.1633)
OKLCHoklch(49.63% 0.164 264.4)
XYZxyz(14.2138, 11.6814, 50.2109)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315ABE #BE9531
analogous
#31A1BE #315ABE #4E31BE
triadic
#315ABE #BE315A #5ABE31
tetradic
#315ABE #BE31A1 #BE9531 #31BE4E
square
#315ABE #BE31A1 #BE9531 #31BE4E
split-complementary
#315ABE #BE4E31 #A1BE31
monochromatic
#182C5D #24438D #315ABE #587CD4 #89A2E1

Accessibility & contrast

On white

6.29
#315ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#315ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315ABE
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315ABE#FFFFFF#000000##FFFFFF
##315ABE1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1467C2
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #315abe;
/* rgb */ color: rgb(49, 90, 190);
/* oklch */ color: oklch(49.6% 0.164 264.4);
Tailwind
colors: {
  custom: {
    50: '#7c88d2',
    500: '#315abe',
    950: '#000000',
  },
}
SCSS
$custom: #315abe;
$custom-light: #7c88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#315abe",
  "rgb": {
    "r": 49,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 222.553,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49627,
    "c": 0.16414,
    "h": 264.4
  },
  "luminance": 0.11683
}

Semantic roles & 50–950 ramp

primary
#315ABE
secondary
#CAB580
accent
#B546E2
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #315ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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