#315BBD#315BBD

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

Color values

HEX#315BBD
RGBrgb(49, 91, 189)
HSLhsl(222, 59%, 47%)
HSVhsv(222, 74%, 74%)
CMYKcmyk(74.1%, 51.9%, 0%, 25.9%)
CIE-LABlab(40.91, 19.95, -55.84)
CIE-LCHlch(40.91, 59.29, 289.66°)
OKLaboklab(49.76% -0.0169 -0.1606)
OKLCHoklch(49.76% 0.162 264)
XYZxyz(14.1898, 11.8077, 49.6655)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315BBD #BD9331
analogous
#31A1BD #315BBD #4D31BD
triadic
#315BBD #BD315B #5BBD31
tetradic
#315BBD #BD31A1 #BD9331 #31BD4D
square
#315BBD #BD31A1 #BD9331 #31BD4D
split-complementary
#315BBD #BD4D31 #A1BD31
monochromatic
#182C5C #24448C #315BBD #587DD4 #88A3E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##315BBD#FFFFFF#000000##FFFFFF
##315BBD1.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)
#1A67C0
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #315bbd;
/* rgb */ color: rgb(49, 91, 189);
/* oklch */ color: oklch(49.8% 0.162 264.0);
Tailwind
colors: {
  custom: {
    50: '#7c88d2',
    500: '#315bbd',
    950: '#000000',
  },
}
SCSS
$custom: #315bbd;
$custom-light: #7c88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#315bbd",
  "rgb": {
    "r": 49,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 222,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4976,
    "c": 0.16153,
    "h": 264
  },
  "luminance": 0.11809
}

Semantic roles & 50–950 ramp

primary
#315BBD
secondary
#CAB480
accent
#B346E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #315BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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