#315C92#315C92

#315C92 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 47.1% C 0.100 H 255.1°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#315C92
RGBrgb(49, 92, 146)
HSLhsl(213, 50%, 38%)
HSVhsv(213, 66%, 57%)
CMYKcmyk(66.4%, 37%, 0%, 42.7%)
CIE-LABlab(38.52, 3.23, -34.16)
CIE-LCHlch(38.52, 34.32, 275.40°)
OKLaboklab(47.06% -0.0258 -0.097)
OKLCHoklch(47.06% 0.1 255.1)
XYZxyz(10.2802, 10.3816, 28.6506)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315C92 #926731
analogous
#318C92 #315C92 #363192
triadic
#315C92 #92315C #5C9231
tetradic
#315C92 #92318C #926731 #319236
square
#315C92 #92318C #926731 #319236
split-complementary
#315C92 #923631 #8C9231
monochromatic
#122236 #223F64 #315C92 #4179BF #6F99CF

Accessibility & contrast

On white

6.83
#315C92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#315C92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315C92
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315C92#FFFFFF#000000##FFFFFF
##315C921.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446094
Deuteranopia (green-blind)
#375791
Tritanopia (blue-blind)
#006870
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #315c92;
/* rgb */ color: rgb(49, 92, 146);
/* oklch */ color: oklch(47.1% 0.100 255.1);
Tailwind
colors: {
  custom: {
    50: '#7389b2',
    500: '#315c92',
    950: '#000000',
  },
}
SCSS
$custom: #315c92;
$custom-light: #7389b2;
$custom-dark: #000000;
JSON
{
  "hex": "#315c92",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 146
  },
  "hsl": {
    "h": 213.402,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47056,
    "c": 0.10033,
    "h": 255.1
  },
  "luminance": 0.10383
}

Semantic roles & 50–950 ramp

primary
#315C92
secondary
#B69469
accent
#9C4FD9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315C92

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

Preview Lab → · Contrast checker → · Palette generator →

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