#315EB0#315EB0

#315EB0 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.5% C 0.140 H 261.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#315EB0
RGBrgb(49, 94, 176)
HSLhsl(219, 56%, 44%)
HSVhsv(219, 72%, 69%)
CMYKcmyk(72.2%, 46.6%, 0%, 31%)
CIE-LABlab(40.88, 13.11, -48.26)
CIE-LCHlch(40.88, 50.01, 285.20°)
OKLaboklab(49.46% -0.0213 -0.1383)
OKLCHoklch(49.46% 0.14 261.2)
XYZxyz(13.1030, 11.7916, 42.6513)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315EB0 #B08331
analogous
#319EB0 #315EB0 #4431B0
triadic
#315EB0 #B0315E #5EB031
tetradic
#315EB0 #B0319E #B08331 #31B044
square
#315EB0 #B0319E #B08331 #31B044
split-complementary
#315EB0 #B04431 #9EB031
monochromatic
#162B50 #244480 #315EB0 #507DCE #80A0DC

Accessibility & contrast

On white

6.25
#315EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#315EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315EB0
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315EB0#FFFFFF#000000##FFFFFF
##315EB01.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3367B3
Deuteranopia (green-blind)
#175BAE
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #315eb0;
/* rgb */ color: rgb(49, 94, 176);
/* oklch */ color: oklch(49.5% 0.140 261.2);
Tailwind
colors: {
  custom: {
    50: '#798bc8',
    500: '#315eb0',
    950: '#000000',
  },
}
SCSS
$custom: #315eb0;
$custom-light: #798bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#315eb0",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 176
  },
  "hsl": {
    "h": 218.74,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49462,
    "c": 0.13994,
    "h": 261.2
  },
  "luminance": 0.11793
}

Semantic roles & 50–950 ramp

primary
#315EB0
secondary
#C5AA78
accent
#AA48E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #315EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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