#315E96#315E96

#315E96 is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.8% C 0.104 H 255.0°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#315E96
RGBrgb(49, 94, 150)
HSLhsl(213, 51%, 39%)
HSVhsv(213, 67%, 59%)
CMYKcmyk(67.3%, 37.3%, 0%, 41.2%)
CIE-LABlab(39.34, 3.42, -35.27)
CIE-LCHlch(39.34, 35.43, 275.55°)
OKLaboklab(47.77% -0.0269 -0.1002)
OKLCHoklch(47.77% 0.104 255)
XYZxyz(10.7723, 10.8593, 30.3766)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E96 #966931
analogous
#319196 #315E96 #363196
triadic
#315E96 #96315E #5E9631
tetradic
#315E96 #963191 #966931 #319636
square
#315E96 #963191 #966931 #319636
split-complementary
#315E96 #963631 #919631
monochromatic
#13243A #224168 #315E96 #437BC1 #719BD1

Accessibility & contrast

On white

6.62
#315E96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#315E96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315E96
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E96#FFFFFF#000000##FFFFFF
##315E961.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456298
Deuteranopia (green-blind)
#375895
Tritanopia (blue-blind)
#006B73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #315e96;
/* rgb */ color: rgb(49, 94, 150);
/* oklch */ color: oklch(47.8% 0.104 255.0);
Tailwind
colors: {
  custom: {
    50: '#748bb5',
    500: '#315e96',
    950: '#000000',
  },
}
SCSS
$custom: #315e96;
$custom-light: #748bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#315e96",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 150
  },
  "hsl": {
    "h": 213.267,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4777,
    "c": 0.1037,
    "h": 255
  },
  "luminance": 0.1086
}

Semantic roles & 50–950 ramp

primary
#315E96
secondary
#B8966A
accent
#9C4EDA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315E96

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

Preview Lab → · Contrast checker → · Palette generator →

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