#315192#315192

#315192 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.5% C 0.113 H 262.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#315192
RGBrgb(49, 81, 146)
HSLhsl(220, 50%, 38%)
HSVhsv(220, 66%, 57%)
CMYKcmyk(66.4%, 44.5%, 0%, 42.7%)
CIE-LABlab(35.23, 10.38, -39.40)
CIE-LCHlch(35.23, 40.74, 284.76°)
OKLaboklab(44.5% -0.014 -0.1125)
OKLCHoklch(44.5% 0.113 262.9)
XYZxyz(9.3955, 8.6123, 28.3557)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315192 #927231
analogous
#318192 #315192 #413192
triadic
#315192 #923151 #519231
tetradic
#315192 #923181 #927231 #319241
square
#315192 #923181 #927231 #319241
split-complementary
#315192 #924131 #819231
monochromatic
#121E36 #223864 #315192 #416BBF #6F8ECF

Accessibility & contrast

On white

7.71
#315192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#315192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315192
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315192#FFFFFF#000000##FFFFFF
##3151921.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325894
Deuteranopia (green-blind)
#234F91
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #315192;
/* rgb */ color: rgb(49, 81, 146);
/* oklch */ color: oklch(44.5% 0.113 262.9);
Tailwind
colors: {
  custom: {
    50: '#7481b2',
    500: '#315192',
    950: '#000000',
  },
}
SCSS
$custom: #315192;
$custom-light: #7481b2;
$custom-dark: #000000;
JSON
{
  "hex": "#315192",
  "rgb": {
    "r": 49,
    "g": 81,
    "b": 146
  },
  "hsl": {
    "h": 220.206,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44503,
    "c": 0.11333,
    "h": 262.9
  },
  "luminance": 0.08613
}

Semantic roles & 50–950 ramp

primary
#315192
secondary
#B69D69
accent
#AB4FD9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #315192

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

Preview Lab → · Contrast checker → · Palette generator →

#315192 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva