#315E98#315E98

#315E98 is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.9% C 0.106 H 255.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#315E98
RGBrgb(49, 94, 152)
HSLhsl(214, 51%, 39%)
HSVhsv(214, 68%, 60%)
CMYKcmyk(67.8%, 38.2%, 0%, 40.4%)
CIE-LABlab(39.45, 4.16, -36.29)
CIE-LCHlch(39.45, 36.53, 276.54°)
OKLaboklab(47.89% -0.0263 -0.1032)
OKLCHoklch(47.89% 0.106 255.7)
XYZxyz(10.9348, 10.9243, 31.2320)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E98 #986B31
analogous
#319298 #315E98 #373198
triadic
#315E98 #98315E #5E9831
tetradic
#315E98 #983192 #986B31 #319837
square
#315E98 #983192 #986B31 #319837
split-complementary
#315E98 #983731 #929831
monochromatic
#13253B #22416A #315E98 #447BC3 #729CD2

Accessibility & contrast

On white

6.59
#315E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #315E98
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E98#FFFFFF#000000##FFFFFF
##315E981.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44629A
Deuteranopia (green-blind)
#355997
Tritanopia (blue-blind)
#006B73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #315e98;
/* rgb */ color: rgb(49, 94, 152);
/* oklch */ color: oklch(47.9% 0.106 255.7);
Tailwind
colors: {
  custom: {
    50: '#758bb6',
    500: '#315e98',
    950: '#000000',
  },
}
SCSS
$custom: #315e98;
$custom-light: #758bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#315e98",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 152
  },
  "hsl": {
    "h": 213.786,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47892,
    "c": 0.10647,
    "h": 255.7
  },
  "luminance": 0.10925
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #315E98

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

Preview Lab → · Contrast checker → · Palette generator →

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