#315F95#315F95

#315F95 is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 47.9% C 0.101 H 253.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#315F95
RGBrgb(49, 95, 149)
HSLhsl(212, 51%, 39%)
HSVhsv(212, 67%, 58%)
CMYKcmyk(67.1%, 36.2%, 0%, 41.6%)
CIE-LABlab(39.59, 2.42, -34.27)
CIE-LCHlch(39.59, 34.36, 274.04°)
OKLaboklab(47.95% -0.0282 -0.0972)
OKLCHoklch(47.95% 0.101 253.8)
XYZxyz(10.7817, 11.0062, 29.9842)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315F95 #956731
analogous
#319195 #315F95 #353195
triadic
#315F95 #95315F #5F9531
tetradic
#315F95 #953191 #956731 #319535
square
#315F95 #953191 #956731 #319535
split-complementary
#315F95 #953531 #919531
monochromatic
#132439 #224267 #315F95 #427DC1 #709CD0

Accessibility & contrast

On white

6.56
#315F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#315F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315F95
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315F95#FFFFFF#000000##FFFFFF
##315F951.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #315f95;
/* rgb */ color: rgb(49, 95, 149);
/* oklch */ color: oklch(47.9% 0.101 253.8);
Tailwind
colors: {
  custom: {
    50: '#748cb4',
    500: '#315f95',
    950: '#000000',
  },
}
SCSS
$custom: #315f95;
$custom-light: #748cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#315f95",
  "rgb": {
    "r": 49,
    "g": 95,
    "b": 149
  },
  "hsl": {
    "h": 212.4,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47947,
    "c": 0.10125,
    "h": 253.8
  },
  "luminance": 0.11007
}

Semantic roles & 50–950 ramp

primary
#315F95
secondary
#B8946A
accent
#9A4EDA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #315F95

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

Preview Lab → · Contrast checker → · Palette generator →

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