#315F9D#315F9D

#315F9D is a mid, moderate cyan. Relative luminance 0.113; OKLCH L 48.4% C 0.112 H 256.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#315F9D
RGBrgb(49, 95, 157)
HSLhsl(214, 52%, 40%)
HSVhsv(214, 69%, 62%)
CMYKcmyk(68.8%, 39.5%, 0%, 38.4%)
CIE-LABlab(40.03, 5.37, -38.36)
CIE-LCHlch(40.03, 38.74, 277.96°)
OKLaboklab(48.44% -0.0261 -0.1092)
OKLCHoklch(48.44% 0.112 256.5)
XYZxyz(11.4424, 11.2705, 33.4642)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315F9D #9D6F31
analogous
#31959D #315F9D #39319D
triadic
#315F9D #9D315F #5F9D31
tetradic
#315F9D #9D3195 #9D6F31 #319D39
square
#315F9D #9D3195 #9D6F31 #319D39
split-complementary
#315F9D #9D3931 #959D31
monochromatic
#142740 #22436E #315F9D #467CC5 #759DD4

Accessibility & contrast

On white

6.45
#315F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #315F9D
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315F9D#FFFFFF#000000##FFFFFF
##315F9D1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43649F
Deuteranopia (green-blind)
#335A9C
Tritanopia (blue-blind)
#006D76
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #315f9d;
/* rgb */ color: rgb(49, 95, 157);
/* oklch */ color: oklch(48.4% 0.112 256.5);
Tailwind
colors: {
  custom: {
    50: '#758cba',
    500: '#315f9d',
    950: '#000000',
  },
}
SCSS
$custom: #315f9d;
$custom-light: #758cba;
$custom-dark: #000000;
JSON
{
  "hex": "#315f9d",
  "rgb": {
    "r": 49,
    "g": 95,
    "b": 157
  },
  "hsl": {
    "h": 214.444,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48435,
    "c": 0.11229,
    "h": 256.5
  },
  "luminance": 0.11272
}

Semantic roles & 50–950 ramp

primary
#315F9D
secondary
#BC9B6E
accent
#9F4CDC
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #315F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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