#315CAF#315CAF

#315CAF is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.0% C 0.141 H 262.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#315CAF
RGBrgb(49, 92, 175)
HSLhsl(220, 56%, 44%)
HSVhsv(220, 72%, 69%)
CMYKcmyk(72%, 47.4%, 0%, 31.4%)
CIE-LABlab(40.25, 14.03, -48.69)
CIE-LCHlch(40.25, 50.68, 286.08°)
OKLaboklab(48.95% -0.0196 -0.1396)
OKLCHoklch(48.95% 0.141 262)
XYZxyz(12.8289, 11.4010, 42.0736)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315CAF #AF8431
analogous
#319BAF #315CAF #4531AF
triadic
#315CAF #AF315C #5CAF31
tetradic
#315CAF #AF319B #AF8431 #31AF45
square
#315CAF #AF319B #AF8431 #31AF45
split-complementary
#315CAF #AF4531 #9BAF31
monochromatic
#162A4F #24437F #315CAF #4F7BCE #7F9FDB

Accessibility & contrast

On white

6.40
#315CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#315CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315CAF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315CAF#FFFFFF#000000##FFFFFF
##315CAF1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#1159AD
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #315caf;
/* rgb */ color: rgb(49, 92, 175);
/* oklch */ color: oklch(49.0% 0.141 262.0);
Tailwind
colors: {
  custom: {
    50: '#7989c7',
    500: '#315caf',
    950: '#000000',
  },
}
SCSS
$custom: #315caf;
$custom-light: #7989c7;
$custom-dark: #000000;
JSON
{
  "hex": "#315caf",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 175
  },
  "hsl": {
    "h": 219.524,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48954,
    "c": 0.14099,
    "h": 262
  },
  "luminance": 0.11402
}

Semantic roles & 50–950 ramp

primary
#315CAF
secondary
#C4AA78
accent
#AC48E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #315CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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