#314895#314895

#314895 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.129 H 268.0°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#314895
RGBrgb(49, 72, 149)
HSLhsl(226, 51%, 39%)
HSVhsv(226, 67%, 58%)
CMYKcmyk(67.1%, 51.7%, 0%, 41.6%)
CIE-LABlab(32.83, 17.50, -45.08)
CIE-LCHlch(32.83, 48.36, 291.22°)
OKLaboklab(42.73% -0.0044 -0.1293)
OKLCHoklch(42.73% 0.129 268)
XYZxyz(9.0069, 7.4568, 29.3926)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314895 #957E31
analogous
#317A95 #314895 #4C3195
triadic
#314895 #953148 #489531
tetradic
#314895 #95317A #957E31 #31954C
square
#314895 #95317A #957E31 #31954C
split-complementary
#314895 #954C31 #7A9531
monochromatic
#131B39 #223267 #314895 #425FC1 #7086D0

Accessibility & contrast

On white

8.43
#314895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#314895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314895
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314895#FFFFFF#000000##FFFFFF
##3148951.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5298
Deuteranopia (green-blind)
#004993
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #314895;
/* rgb */ color: rgb(49, 72, 149);
/* oklch */ color: oklch(42.7% 0.129 268.0);
Tailwind
colors: {
  custom: {
    50: '#757ab5',
    500: '#314895',
    950: '#000000',
  },
}
SCSS
$custom: #314895;
$custom-light: #757ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#314895",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 149
  },
  "hsl": {
    "h": 226.2,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4273,
    "c": 0.12937,
    "h": 268
  },
  "luminance": 0.07458
}

Semantic roles & 50–950 ramp

primary
#314895
secondary
#B8A66A
accent
#BA4EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314895

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

Preview Lab → · Contrast checker → · Palette generator →

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