#315B94#315B94

#315B94 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.9% C 0.104 H 256.6°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#315B94
RGBrgb(49, 91, 148)
HSLhsl(215, 50%, 39%)
HSVhsv(215, 67%, 58%)
CMYKcmyk(66.9%, 38.5%, 0%, 42%)
CIE-LABlab(38.33, 4.61, -35.67)
CIE-LCHlch(38.33, 35.97, 277.36°)
OKLaboklab(46.94% -0.0242 -0.1014)
OKLCHoklch(46.94% 0.104 256.6)
XYZxyz(10.3511, 10.2722, 29.4485)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315B94 #946A31
analogous
#318C94 #315B94 #383194
triadic
#315B94 #94315B #5B9431
tetradic
#315B94 #94318C #946A31 #319438
square
#315B94 #94318C #946A31 #319438
split-complementary
#315B94 #943831 #8C9431
monochromatic
#132238 #223F66 #315B94 #4278C0 #7098D0

Accessibility & contrast

On white

6.87
#315B94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#315B94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315B94
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315B94#FFFFFF#000000##FFFFFF
##315B941.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425F96
Deuteranopia (green-blind)
#345693
Tritanopia (blue-blind)
#006870
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #315b94;
/* rgb */ color: rgb(49, 91, 148);
/* oklch */ color: oklch(46.9% 0.104 256.6);
Tailwind
colors: {
  custom: {
    50: '#7489b4',
    500: '#315b94',
    950: '#000000',
  },
}
SCSS
$custom: #315b94;
$custom-light: #7489b4;
$custom-dark: #000000;
JSON
{
  "hex": "#315b94",
  "rgb": {
    "r": 49,
    "g": 91,
    "b": 148
  },
  "hsl": {
    "h": 214.545,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46942,
    "c": 0.10423,
    "h": 256.6
  },
  "luminance": 0.10273
}

Semantic roles & 50–950 ramp

primary
#315B94
secondary
#B79669
accent
#9E4EDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315B94

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

Preview Lab → · Contrast checker → · Palette generator →

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