#315D95#315D95

#315D95 is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.5% C 0.103 H 255.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#315D95
RGBrgb(49, 93, 149)
HSLhsl(214, 51%, 39%)
HSVhsv(214, 67%, 58%)
CMYKcmyk(67.1%, 37.6%, 0%, 41.6%)
CIE-LABlab(38.99, 3.69, -35.23)
CIE-LCHlch(38.99, 35.42, 275.99°)
OKLaboklab(47.47% -0.0261 -0.1001)
OKLCHoklch(47.47% 0.103 255.4)
XYZxyz(10.6038, 10.6505, 29.9249)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315D95 #956931
analogous
#318F95 #315D95 #373195
triadic
#315D95 #95315D #5D9531
tetradic
#315D95 #95318F #956931 #319537
square
#315D95 #95318F #956931 #319537
split-complementary
#315D95 #953731 #8F9531
monochromatic
#132439 #224067 #315D95 #427AC1 #709AD0

Accessibility & contrast

On white

6.71
#315D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#315D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315D95
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315D95#FFFFFF#000000##FFFFFF
##315D951.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446197
Deuteranopia (green-blind)
#365894
Tritanopia (blue-blind)
#006A72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #315d95;
/* rgb */ color: rgb(49, 93, 149);
/* oklch */ color: oklch(47.5% 0.103 255.4);
Tailwind
colors: {
  custom: {
    50: '#748ab4',
    500: '#315d95',
    950: '#000000',
  },
}
SCSS
$custom: #315d95;
$custom-light: #748ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#315d95",
  "rgb": {
    "r": 49,
    "g": 93,
    "b": 149
  },
  "hsl": {
    "h": 213.6,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47474,
    "c": 0.10341,
    "h": 255.4
  },
  "luminance": 0.10652
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #315D95

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

Preview Lab → · Contrast checker → · Palette generator →

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