#315D98#315D98

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

Color values

HEX#315D98
RGBrgb(49, 93, 152)
HSLhsl(214, 51%, 39%)
HSVhsv(214, 68%, 60%)
CMYKcmyk(67.8%, 38.8%, 0%, 40.4%)
CIE-LABlab(39.15, 4.80, -36.77)
CIE-LCHlch(39.15, 37.08, 277.44°)
OKLaboklab(47.66% -0.0253 -0.1046)
OKLCHoklch(47.66% 0.108 256.4)
XYZxyz(10.8464, 10.7476, 31.2026)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315D98 #986C31
analogous
#319198 #315D98 #393198
triadic
#315D98 #98315D #5D9831
tetradic
#315D98 #983191 #986C31 #319839
square
#315D98 #983191 #986C31 #319839
split-complementary
#315D98 #983931 #919831
monochromatic
#13243B #22416A #315D98 #447AC3 #729BD2

Accessibility & contrast

On white

6.67
#315D98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#315D98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315D98
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315D98#FFFFFF#000000##FFFFFF
##315D981.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43619A
Deuteranopia (green-blind)
#345897
Tritanopia (blue-blind)
#006B73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #315d98;
/* rgb */ color: rgb(49, 93, 152);
/* oklch */ color: oklch(47.7% 0.108 256.4);
Tailwind
colors: {
  custom: {
    50: '#758ab6',
    500: '#315d98',
    950: '#000000',
  },
}
SCSS
$custom: #315d98;
$custom-light: #758ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#315d98",
  "rgb": {
    "r": 49,
    "g": 93,
    "b": 152
  },
  "hsl": {
    "h": 214.369,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47658,
    "c": 0.10758,
    "h": 256.4
  },
  "luminance": 0.10749
}

Semantic roles & 50–950 ramp

primary
#315D98
secondary
#B9986B
accent
#9E4DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315D98

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

Preview Lab → · Contrast checker → · Palette generator →

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