#315EA9#315EA9

#315EA9 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.0% C 0.130 H 260.0°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#315EA9
RGBrgb(49, 94, 169)
HSLhsl(218, 55%, 43%)
HSVhsv(218, 71%, 66%)
CMYKcmyk(71%, 44.4%, 0%, 33.7%)
CIE-LABlab(40.45, 10.48, -44.83)
CIE-LCHlch(40.45, 46.04, 283.16°)
OKLaboklab(48.99% -0.0225 -0.1282)
OKLCHoklch(48.99% 0.13 260)
XYZxyz(12.4282, 11.5216, 39.0973)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315EA9 #A97C31
analogous
#319AA9 #315EA9 #4031A9
triadic
#315EA9 #A9315E #5EA931
tetradic
#315EA9 #A9319A #A97C31 #31A940
square
#315EA9 #A9319A #A97C31 #31A940
split-complementary
#315EA9 #A94031 #9AA931
monochromatic
#15294A #23447A #315EA9 #4C7CCB #7C9FD9

Accessibility & contrast

On white

6.35
#315EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#315EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315EA9
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315EA9#FFFFFF#000000##FFFFFF
##315EA91.006.353.306.35
#FFFFFF6.351.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3965AC
Deuteranopia (green-blind)
#235AA7
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #315ea9;
/* rgb */ color: rgb(49, 94, 169);
/* oklch */ color: oklch(49.0% 0.130 260.0);
Tailwind
colors: {
  custom: {
    50: '#788bc3',
    500: '#315ea9',
    950: '#000000',
  },
}
SCSS
$custom: #315ea9;
$custom-light: #788bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#315ea9",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 169
  },
  "hsl": {
    "h": 217.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48985,
    "c": 0.13019,
    "h": 260
  },
  "luminance": 0.11523
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #315EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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