#315499#315499

#315499 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.7% C 0.120 H 262.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#315499
RGBrgb(49, 84, 153)
HSLhsl(220, 51%, 40%)
HSVhsv(220, 68%, 60%)
CMYKcmyk(68%, 45.1%, 0%, 40%)
CIE-LABlab(36.54, 11.02, -41.53)
CIE-LCHlch(36.54, 42.97, 284.85°)
OKLaboklab(45.66% -0.0158 -0.1187)
OKLCHoklch(45.66% 0.12 262.4)
XYZxyz(10.1847, 9.2925, 31.3877)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315499 #997631
analogous
#318899 #315499 #423199
triadic
#315499 #993154 #549931
tetradic
#315499 #993188 #997631 #319942
square
#315499 #993188 #997631 #319942
split-complementary
#315499 #994231 #889931
monochromatic
#13213C #223B6B #315499 #446FC3 #7293D2

Accessibility & contrast

On white

7.35
#315499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#315499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315499
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315499#FFFFFF#000000##FFFFFF
##3154991.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335B9C
Deuteranopia (green-blind)
#215298
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #315499;
/* rgb */ color: rgb(49, 84, 153);
/* oklch */ color: oklch(45.7% 0.120 262.4);
Tailwind
colors: {
  custom: {
    50: '#7583b7',
    500: '#315499',
    950: '#000000',
  },
}
SCSS
$custom: #315499;
$custom-light: #7583b7;
$custom-dark: #000000;
JSON
{
  "hex": "#315499",
  "rgb": {
    "r": 49,
    "g": 84,
    "b": 153
  },
  "hsl": {
    "h": 219.808,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45656,
    "c": 0.11972,
    "h": 262.4
  },
  "luminance": 0.09294
}

Semantic roles & 50–950 ramp

primary
#315499
secondary
#BAA06C
accent
#AB4DDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #315499

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

Preview Lab → · Contrast checker → · Palette generator →

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