#315ABF#315ABF

#315ABF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.7% C 0.165 H 264.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#315ABF
RGBrgb(49, 90, 191)
HSLhsl(223, 59%, 47%)
HSVhsv(223, 74%, 75%)
CMYKcmyk(74.3%, 52.9%, 0%, 25.1%)
CIE-LABlab(40.78, 21.35, -57.22)
CIE-LCHlch(40.78, 61.07, 290.46°)
OKLaboklab(49.7% -0.0159 -0.1647)
OKLCHoklch(49.7% 0.165 264.5)
XYZxyz(14.3234, 11.7253, 50.7884)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315ABF #BF9631
analogous
#31A1BF #315ABF #4F31BF
triadic
#315ABF #BF315A #5ABF31
tetradic
#315ABF #BF31A1 #BF9631 #31BF4F
square
#315ABF #BF31A1 #BF9631 #31BF4F
split-complementary
#315ABF #BF4F31 #A1BF31
monochromatic
#182C5E #25438E #315ABF #597DD4 #8AA3E1

Accessibility & contrast

On white

6.28
#315ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#315ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315ABF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315ABF#FFFFFF#000000##FFFFFF
##315ABF1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1167C3
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #315abf;
/* rgb */ color: rgb(49, 90, 191);
/* oklch */ color: oklch(49.7% 0.165 264.5);
Tailwind
colors: {
  custom: {
    50: '#7d88d3',
    500: '#315abf',
    950: '#000000',
  },
}
SCSS
$custom: #315abf;
$custom-light: #7d88d3;
$custom-dark: #000000;
JSON
{
  "hex": "#315abf",
  "rgb": {
    "r": 49,
    "g": 90,
    "b": 191
  },
  "hsl": {
    "h": 222.676,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49704,
    "c": 0.16549,
    "h": 264.5
  },
  "luminance": 0.11727
}

Semantic roles & 50–950 ramp

primary
#315ABF
secondary
#CBB581
accent
#B545E2
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #315ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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