#315E99#315E99

#315E99 is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 48.0% C 0.108 H 256.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#315E99
RGBrgb(49, 94, 153)
HSLhsl(214, 51%, 40%)
HSVhsv(214, 68%, 60%)
CMYKcmyk(68%, 38.6%, 0%, 40%)
CIE-LABlab(39.51, 4.53, -36.80)
CIE-LCHlch(39.51, 37.08, 277.01°)
OKLaboklab(47.95% -0.0261 -0.1047)
OKLCHoklch(47.95% 0.108 256)
XYZxyz(11.0170, 10.9572, 31.6652)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E99 #996C31
analogous
#319299 #315E99 #383199
triadic
#315E99 #99315E #5E9931
tetradic
#315E99 #993192 #996C31 #319938
square
#315E99 #993192 #996C31 #319938
split-complementary
#315E99 #993831 #929931
monochromatic
#13253C #22426B #315E99 #447BC3 #729CD2

Accessibility & contrast

On white

6.58
#315E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#315E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315E99
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E99#FFFFFF#000000##FFFFFF
##315E991.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44629B
Deuteranopia (green-blind)
#355998
Tritanopia (blue-blind)
#006C74
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #315e99;
/* rgb */ color: rgb(49, 94, 153);
/* oklch */ color: oklch(48.0% 0.108 256.0);
Tailwind
colors: {
  custom: {
    50: '#758bb7',
    500: '#315e99',
    950: '#000000',
  },
}
SCSS
$custom: #315e99;
$custom-light: #758bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#315e99",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 153
  },
  "hsl": {
    "h": 214.038,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47954,
    "c": 0.10786,
    "h": 256
  },
  "luminance": 0.10958
}

Semantic roles & 50–950 ramp

primary
#315E99
secondary
#BA986C
accent
#9D4DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315E99

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

Preview Lab → · Contrast checker → · Palette generator →

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