#315B95#315B95

#315B95 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 47.0% C 0.106 H 256.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#315B95
RGBrgb(49, 91, 149)
HSLhsl(215, 51%, 39%)
HSVhsv(215, 67%, 58%)
CMYKcmyk(67.1%, 38.9%, 0%, 41.6%)
CIE-LABlab(38.38, 4.98, -36.19)
CIE-LCHlch(38.38, 36.53, 277.83°)
OKLaboklab(47% -0.0239 -0.1029)
OKLCHoklch(47% 0.106 256.9)
XYZxyz(10.4306, 10.3040, 29.8671)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315B95 #956B31
analogous
#318D95 #315B95 #393195
triadic
#315B95 #95315B #5B9531
tetradic
#315B95 #95318D #956B31 #319539
square
#315B95 #95318D #956B31 #319539
split-complementary
#315B95 #953931 #8D9531
monochromatic
#132339 #223F67 #315B95 #4277C1 #7099D0

Accessibility & contrast

On white

6.86
#315B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#315B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315B95
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315B95#FFFFFF#000000##FFFFFF
##315B951.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415F97
Deuteranopia (green-blind)
#335694
Tritanopia (blue-blind)
#006871
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #315b95;
/* rgb */ color: rgb(49, 91, 149);
/* oklch */ color: oklch(47.0% 0.106 256.9);
Tailwind
colors: {
  custom: {
    50: '#7489b4',
    500: '#315b95',
    950: '#000000',
  },
}
SCSS
$custom: #315b95;
$custom-light: #7489b4;
$custom-dark: #000000;
JSON
{
  "hex": "#315b95",
  "rgb": {
    "r": 49,
    "g": 91,
    "b": 149
  },
  "hsl": {
    "h": 214.8,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47004,
    "c": 0.10564,
    "h": 256.9
  },
  "luminance": 0.10305
}

Semantic roles & 50–950 ramp

primary
#315B95
secondary
#B8976A
accent
#9F4EDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315B95

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

Preview Lab → · Contrast checker → · Palette generator →

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