#315AA9#315AA9

#315AA9 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.1% C 0.135 H 262.0°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#315AA9
RGBrgb(49, 90, 169)
HSLhsl(220, 55%, 43%)
HSVhsv(220, 71%, 66%)
CMYKcmyk(71%, 46.7%, 0%, 33.7%)
CIE-LABlab(39.29, 13.08, -46.69)
CIE-LCHlch(39.29, 48.48, 285.65°)
OKLaboklab(48.1% -0.0188 -0.1337)
OKLCHoklch(48.1% 0.135 262)
XYZxyz(12.0817, 10.8286, 38.9818)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315AA9 #A98031
analogous
#3196A9 #315AA9 #4431A9
triadic
#315AA9 #A9315A #5AA931
tetradic
#315AA9 #A93196 #A98031 #31A944
square
#315AA9 #A93196 #A98031 #31A944
split-complementary
#315AA9 #A94431 #96A931
monochromatic
#15274A #23417A #315AA9 #4C77CB #7C9BD9

Accessibility & contrast

On white

6.63
#315AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#315AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315AA9
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315AA9#FFFFFF#000000##FFFFFF
##315AA91.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3162AC
Deuteranopia (green-blind)
#1757A7
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #315aa9;
/* rgb */ color: rgb(49, 90, 169);
/* oklch */ color: oklch(48.1% 0.135 262.0);
Tailwind
colors: {
  custom: {
    50: '#7888c3',
    500: '#315aa9',
    950: '#000000',
  },
}
SCSS
$custom: #315aa9;
$custom-light: #7888c3;
$custom-dark: #000000;
JSON
{
  "hex": "#315aa9",
  "rgb": {
    "r": 49,
    "g": 90,
    "b": 169
  },
  "hsl": {
    "h": 219.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48095,
    "c": 0.13505,
    "h": 262
  },
  "luminance": 0.1083
}

Semantic roles & 50–950 ramp

primary
#315AA9
secondary
#C1A774
accent
#AB49DE
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #315AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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