#315ABA#315ABA

#315ABA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.3% C 0.159 H 264.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#315ABA
RGBrgb(49, 90, 186)
HSLhsl(222, 58%, 46%)
HSVhsv(222, 74%, 73%)
CMYKcmyk(73.7%, 51.6%, 0%, 27.1%)
CIE-LABlab(40.42, 19.47, -54.87)
CIE-LCHlch(40.42, 58.22, 289.54°)
OKLaboklab(49.33% -0.0165 -0.1578)
OKLCHoklch(49.33% 0.159 264)
XYZxyz(13.7826, 11.5090, 47.9399)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315ABA #BA9131
analogous
#319EBA #315ABA #4C31BA
triadic
#315ABA #BA315A #5ABA31
tetradic
#315ABA #BA319E #BA9131 #31BA4C
square
#315ABA #BA319E #BA9131 #31BA4C
split-complementary
#315ABA #BA4C31 #9EBA31
monochromatic
#172B59 #24438A #315ABA #567BD2 #86A1DF

Accessibility & contrast

On white

6.36
#315ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#315ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315ABA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315ABA#FFFFFF#000000##FFFFFF
##315ABA1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C66BD
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #315aba;
/* rgb */ color: rgb(49, 90, 186);
/* oklch */ color: oklch(49.3% 0.159 264.0);
Tailwind
colors: {
  custom: {
    50: '#7c88cf',
    500: '#315aba',
    950: '#000000',
  },
}
SCSS
$custom: #315aba;
$custom-light: #7c88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#315aba",
  "rgb": {
    "r": 49,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 222.044,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49325,
    "c": 0.15867,
    "h": 264
  },
  "luminance": 0.1151
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #315ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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