#315E97#315E97

#315E97 is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.8% C 0.105 H 255.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#315E97
RGBrgb(49, 94, 151)
HSLhsl(214, 51%, 39%)
HSVhsv(214, 68%, 59%)
CMYKcmyk(67.5%, 37.7%, 0%, 40.8%)
CIE-LABlab(39.40, 3.79, -35.78)
CIE-LCHlch(39.40, 35.98, 276.05°)
OKLaboklab(47.83% -0.0266 -0.1017)
OKLCHoklch(47.83% 0.105 255.3)
XYZxyz(10.8532, 10.8917, 30.8025)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E97 #976A31
analogous
#319197 #315E97 #373197
triadic
#315E97 #97315E #5E9731
tetradic
#315E97 #973191 #976A31 #319737
square
#315E97 #973191 #976A31 #319737
split-complementary
#315E97 #973731 #919731
monochromatic
#13243B #224169 #315E97 #437BC2 #719CD1

Accessibility & contrast

On white

6.61
#315E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#315E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315E97
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E97#FFFFFF#000000##FFFFFF
##315E971.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456299
Deuteranopia (green-blind)
#365896
Tritanopia (blue-blind)
#006B73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #315e97;
/* rgb */ color: rgb(49, 94, 151);
/* oklch */ color: oklch(47.8% 0.105 255.3);
Tailwind
colors: {
  custom: {
    50: '#748bb6',
    500: '#315e97',
    950: '#000000',
  },
}
SCSS
$custom: #315e97;
$custom-light: #748bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#315e97",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 151
  },
  "hsl": {
    "h": 213.529,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47831,
    "c": 0.10508,
    "h": 255.3
  },
  "luminance": 0.10893
}

Semantic roles & 50–950 ramp

primary
#315E97
secondary
#B9966B
accent
#9C4DDA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315E97

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

Preview Lab → · Contrast checker → · Palette generator →

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