#315D97#315D97

#315D97 is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.6% C 0.106 H 256.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#315D97
RGBrgb(49, 93, 151)
HSLhsl(214, 51%, 39%)
HSVhsv(214, 68%, 59%)
CMYKcmyk(67.5%, 38.4%, 0%, 40.8%)
CIE-LABlab(39.10, 4.43, -36.26)
CIE-LCHlch(39.10, 36.53, 276.97°)
OKLaboklab(47.6% -0.0255 -0.1031)
OKLCHoklch(47.6% 0.106 256.1)
XYZxyz(10.7649, 10.7150, 30.7730)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315D97 #976B31
analogous
#319097 #315D97 #383197
triadic
#315D97 #97315D #5D9731
tetradic
#315D97 #973190 #976B31 #319738
square
#315D97 #973190 #976B31 #319738
split-complementary
#315D97 #973831 #909731
monochromatic
#13243B #224169 #315D97 #437AC2 #719BD1

Accessibility & contrast

On white

6.68
#315D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#315D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315D97
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315D97#FFFFFF#000000##FFFFFF
##315D971.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436199
Deuteranopia (green-blind)
#345896
Tritanopia (blue-blind)
#006A73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #315d97;
/* rgb */ color: rgb(49, 93, 151);
/* oklch */ color: oklch(47.6% 0.106 256.1);
Tailwind
colors: {
  custom: {
    50: '#748ab6',
    500: '#315d97',
    950: '#000000',
  },
}
SCSS
$custom: #315d97;
$custom-light: #748ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#315d97",
  "rgb": {
    "r": 49,
    "g": 93,
    "b": 151
  },
  "hsl": {
    "h": 214.118,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47596,
    "c": 0.10619,
    "h": 256.1
  },
  "luminance": 0.10716
}

Semantic roles & 50–950 ramp

primary
#315D97
secondary
#B9976B
accent
#9E4DDA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315D97

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

Preview Lab → · Contrast checker → · Palette generator →

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