#315DA9#315DA9

#315DA9 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.8% C 0.131 H 260.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#315DA9
RGBrgb(49, 93, 169)
HSLhsl(218, 55%, 43%)
HSVhsv(218, 71%, 66%)
CMYKcmyk(71%, 45%, 0%, 33.7%)
CIE-LABlab(40.16, 11.13, -45.30)
CIE-LCHlch(40.16, 46.65, 283.80°)
OKLaboklab(48.76% -0.0216 -0.1296)
OKLCHoklch(48.76% 0.131 260.5)
XYZxyz(12.3398, 11.3450, 39.0679)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315DA9 #A97D31
analogous
#3199A9 #315DA9 #4131A9
triadic
#315DA9 #A9315D #5DA931
tetradic
#315DA9 #A93199 #A97D31 #31A941
square
#315DA9 #A93199 #A97D31 #31A941
split-complementary
#315DA9 #A94131 #99A931
monochromatic
#15294A #23437A #315DA9 #4C7BCB #7C9ED9

Accessibility & contrast

On white

6.42
#315DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#315DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315DA9
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315DA9#FFFFFF#000000##FFFFFF
##315DA91.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AC
Deuteranopia (green-blind)
#2159A7
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #315da9;
/* rgb */ color: rgb(49, 93, 169);
/* oklch */ color: oklch(48.8% 0.131 260.5);
Tailwind
colors: {
  custom: {
    50: '#788ac3',
    500: '#315da9',
    950: '#000000',
  },
}
SCSS
$custom: #315da9;
$custom-light: #788ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#315da9",
  "rgb": {
    "r": 49,
    "g": 93,
    "b": 169
  },
  "hsl": {
    "h": 218,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48761,
    "c": 0.1314,
    "h": 260.5
  },
  "luminance": 0.11346
}

Semantic roles & 50–950 ramp

primary
#315DA9
secondary
#C1A574
accent
#A849DE
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #315DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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