#315F97#315F97

#315F97 is a mid, moderate cyan. Relative luminance 0.111; OKLCH L 48.1% C 0.104 H 254.6°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#315F97
RGBrgb(49, 95, 151)
HSLhsl(213, 51%, 39%)
HSVhsv(213, 68%, 59%)
CMYKcmyk(67.5%, 37.1%, 0%, 40.8%)
CIE-LABlab(39.70, 3.16, -35.30)
CIE-LCHlch(39.70, 35.44, 275.11°)
OKLaboklab(48.07% -0.0277 -0.1003)
OKLCHoklch(48.07% 0.104 254.6)
XYZxyz(10.9427, 11.0707, 30.8323)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315F97 #976931
analogous
#319297 #315F97 #363197
triadic
#315F97 #97315F #5F9731
tetradic
#315F97 #973192 #976931 #319736
square
#315F97 #973192 #976931 #319736
split-complementary
#315F97 #973631 #929731
monochromatic
#13253B #224269 #315F97 #437CC2 #719DD1

Accessibility & contrast

On white

6.53
#315F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#315F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315F97
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315F97#FFFFFF#000000##FFFFFF
##315F971.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466399
Deuteranopia (green-blind)
#385996
Tritanopia (blue-blind)
#006C74
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #315f97;
/* rgb */ color: rgb(49, 95, 151);
/* oklch */ color: oklch(48.1% 0.104 254.6);
Tailwind
colors: {
  custom: {
    50: '#748cb6',
    500: '#315f97',
    950: '#000000',
  },
}
SCSS
$custom: #315f97;
$custom-light: #748cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#315f97",
  "rgb": {
    "r": 49,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 212.941,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48067,
    "c": 0.104,
    "h": 254.6
  },
  "luminance": 0.11072
}

Semantic roles & 50–950 ramp

primary
#315F97
secondary
#B9966B
accent
#9B4DDA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #315F97

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

Preview Lab → · Contrast checker → · Palette generator →

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