#315BAF#315BAF

#315BAF is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.7% C 0.142 H 262.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#315BAF
RGBrgb(49, 91, 175)
HSLhsl(220, 56%, 44%)
HSVhsv(220, 72%, 69%)
CMYKcmyk(72%, 48%, 0%, 31.4%)
CIE-LABlab(39.96, 14.68, -49.15)
CIE-LCHlch(39.96, 51.30, 286.63°)
OKLaboklab(48.74% -0.0188 -0.141)
OKLCHoklch(48.74% 0.142 262.4)
XYZxyz(12.7428, 11.2289, 42.0450)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315BAF #AF8531
analogous
#319AAF #315BAF #4631AF
triadic
#315BAF #AF315B #5BAF31
tetradic
#315BAF #AF319A #AF8531 #31AF46
square
#315BAF #AF319A #AF8531 #31AF46
split-complementary
#315BAF #AF4631 #9AAF31
monochromatic
#16294F #24427F #315BAF #4F7ACE #7F9EDB

Accessibility & contrast

On white

6.47
#315BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#315BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315BAF
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315BAF#FFFFFF#000000##FFFFFF
##315BAF1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E64B2
Deuteranopia (green-blind)
#0C59AD
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #315baf;
/* rgb */ color: rgb(49, 91, 175);
/* oklch */ color: oklch(48.7% 0.142 262.4);
Tailwind
colors: {
  custom: {
    50: '#7988c7',
    500: '#315baf',
    950: '#000000',
  },
}
SCSS
$custom: #315baf;
$custom-light: #7988c7;
$custom-dark: #000000;
JSON
{
  "hex": "#315baf",
  "rgb": {
    "r": 49,
    "g": 91,
    "b": 175
  },
  "hsl": {
    "h": 220,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48736,
    "c": 0.14221,
    "h": 262.4
  },
  "luminance": 0.1123
}

Semantic roles & 50–950 ramp

primary
#315BAF
secondary
#C4AB78
accent
#AD48E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #315BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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