#315D99#315D99

#315D99 is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.7% C 0.109 H 256.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#315D99
RGBrgb(49, 93, 153)
HSLhsl(215, 51%, 40%)
HSVhsv(215, 68%, 60%)
CMYKcmyk(68%, 39.2%, 0%, 40%)
CIE-LABlab(39.21, 5.17, -37.28)
CIE-LCHlch(39.21, 37.64, 277.89°)
OKLaboklab(47.72% -0.025 -0.1061)
OKLCHoklch(47.72% 0.109 256.7)
XYZxyz(10.9287, 10.7805, 31.6357)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315D99 #996D31
analogous
#319199 #315D99 #393199
triadic
#315D99 #99315D #5D9931
tetradic
#315D99 #993191 #996D31 #319939
square
#315D99 #993191 #996D31 #319939
split-complementary
#315D99 #993931 #919931
monochromatic
#13253C #22416B #315D99 #447AC3 #729BD2

Accessibility & contrast

On white

6.65
#315D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#315D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315D99
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315D99#FFFFFF#000000##FFFFFF
##315D991.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42629B
Deuteranopia (green-blind)
#335898
Tritanopia (blue-blind)
#006B73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #315d99;
/* rgb */ color: rgb(49, 93, 153);
/* oklch */ color: oklch(47.7% 0.109 256.7);
Tailwind
colors: {
  custom: {
    50: '#758ab7',
    500: '#315d99',
    950: '#000000',
  },
}
SCSS
$custom: #315d99;
$custom-light: #758ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#315d99",
  "rgb": {
    "r": 49,
    "g": 93,
    "b": 153
  },
  "hsl": {
    "h": 214.615,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4772,
    "c": 0.10898,
    "h": 256.7
  },
  "luminance": 0.10782
}

Semantic roles & 50–950 ramp

primary
#315D99
secondary
#BA996C
accent
#9F4DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315D99

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

Preview Lab → · Contrast checker → · Palette generator →

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