#315C95#315C95

#315C95 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.2% C 0.105 H 256.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#315C95
RGBrgb(49, 92, 149)
HSLhsl(214, 51%, 39%)
HSVhsv(214, 67%, 58%)
CMYKcmyk(67.1%, 38.3%, 0%, 41.6%)
CIE-LABlab(38.68, 4.33, -35.71)
CIE-LCHlch(38.68, 35.97, 276.92°)
OKLaboklab(47.24% -0.025 -0.1015)
OKLCHoklch(47.24% 0.105 256.2)
XYZxyz(10.5166, 10.4761, 29.8958)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315C95 #956A31
analogous
#318E95 #315C95 #383195
triadic
#315C95 #95315C #5C9531
tetradic
#315C95 #95318E #956A31 #319538
square
#315C95 #95318E #956A31 #319538
split-complementary
#315C95 #953831 #8E9531
monochromatic
#132339 #224067 #315C95 #4279C1 #7099D0

Accessibility & contrast

On white

6.78
#315C95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#315C95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315C95
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315C95#FFFFFF#000000##FFFFFF
##315C951.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436097
Deuteranopia (green-blind)
#345794
Tritanopia (blue-blind)
#006971
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #315c95;
/* rgb */ color: rgb(49, 92, 149);
/* oklch */ color: oklch(47.2% 0.105 256.2);
Tailwind
colors: {
  custom: {
    50: '#7489b4',
    500: '#315c95',
    950: '#000000',
  },
}
SCSS
$custom: #315c95;
$custom-light: #7489b4;
$custom-dark: #000000;
JSON
{
  "hex": "#315c95",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 149
  },
  "hsl": {
    "h": 214.2,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47239,
    "c": 0.10451,
    "h": 256.2
  },
  "luminance": 0.10477
}

Semantic roles & 50–950 ramp

primary
#315C95
secondary
#B8966A
accent
#9E4EDA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315C95

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

Preview Lab → · Contrast checker → · Palette generator →

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