#315DAF#315DAF

#315DAF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.2% C 0.140 H 261.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#315DAF
RGBrgb(49, 93, 175)
HSLhsl(219, 56%, 44%)
HSVhsv(219, 72%, 69%)
CMYKcmyk(72%, 46.9%, 0%, 31.4%)
CIE-LABlab(40.53, 13.38, -48.24)
CIE-LCHlch(40.53, 50.06, 285.51°)
OKLaboklab(49.17% -0.0206 -0.1382)
OKLCHoklch(49.17% 0.14 261.5)
XYZxyz(12.9161, 11.5754, 42.1027)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315DAF #AF8331
analogous
#319CAF #315DAF #4431AF
triadic
#315DAF #AF315D #5DAF31
tetradic
#315DAF #AF319C #AF8331 #31AF44
square
#315DAF #AF319C #AF8331 #31AF44
split-complementary
#315DAF #AF4431 #9CAF31
monochromatic
#162A4F #24447F #315DAF #4F7CCE #7F9FDB

Accessibility & contrast

On white

6.33
#315DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#315DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315DAF
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315DAF#FFFFFF#000000##FFFFFF
##315DAF1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3266B2
Deuteranopia (green-blind)
#165AAD
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #315daf;
/* rgb */ color: rgb(49, 93, 175);
/* oklch */ color: oklch(49.2% 0.140 261.5);
Tailwind
colors: {
  custom: {
    50: '#798ac7',
    500: '#315daf',
    950: '#000000',
  },
}
SCSS
$custom: #315daf;
$custom-light: #798ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#315daf",
  "rgb": {
    "r": 49,
    "g": 93,
    "b": 175
  },
  "hsl": {
    "h": 219.048,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49173,
    "c": 0.13976,
    "h": 261.5
  },
  "luminance": 0.11577
}

Semantic roles & 50–950 ramp

primary
#315DAF
secondary
#C4A978
accent
#AB48E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #315DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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