#315E9F#315E9F

#315E9F is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.3% C 0.116 H 257.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#315E9F
RGBrgb(49, 94, 159)
HSLhsl(215, 53%, 41%)
HSVhsv(215, 69%, 62%)
CMYKcmyk(69.2%, 40.9%, 0%, 37.6%)
CIE-LABlab(39.85, 6.75, -39.85)
CIE-LCHlch(39.85, 40.41, 279.61°)
OKLaboklab(48.33% -0.0246 -0.1136)
OKLCHoklch(48.33% 0.116 257.8)
XYZxyz(11.5251, 11.1604, 34.3410)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E9F #9F7231
analogous
#31959F #315E9F #3B319F
triadic
#315E9F #9F315E #5E9F31
tetradic
#315E9F #9F3195 #9F7231 #319F3B
square
#315E9F #9F3195 #9F7231 #319F3B
split-complementary
#315E9F #9F3B31 #959F31
monochromatic
#142741 #234270 #315E9F #477BC6 #769DD5

Accessibility & contrast

On white

6.50
#315E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#315E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315E9F
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E9F#FFFFFF#000000##FFFFFF
##315E9F1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4063A2
Deuteranopia (green-blind)
#2F599E
Tritanopia (blue-blind)
#006D77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #315e9f;
/* rgb */ color: rgb(49, 94, 159);
/* oklch */ color: oklch(48.3% 0.116 257.8);
Tailwind
colors: {
  custom: {
    50: '#768bbc',
    500: '#315e9f',
    950: '#000000',
  },
}
SCSS
$custom: #315e9f;
$custom-light: #768bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#315e9f",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 159
  },
  "hsl": {
    "h": 215.455,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4833,
    "c": 0.11622,
    "h": 257.8
  },
  "luminance": 0.11162
}

Semantic roles & 50–950 ramp

primary
#315E9F
secondary
#BD9D6F
accent
#A14CDC
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #315E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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