#314495#314495

#314495 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.9% C 0.135 H 269.8°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#314495
RGBrgb(49, 68, 149)
HSLhsl(229, 51%, 39%)
HSVhsv(229, 67%, 58%)
CMYKcmyk(67.1%, 54.4%, 0%, 41.6%)
CIE-LABlab(31.71, 20.19, -46.88)
CIE-LCHlch(31.71, 51.04, 293.30°)
OKLaboklab(41.89% -0.0005 -0.1347)
OKLCHoklch(41.89% 0.135 269.8)
XYZxyz(8.7567, 6.9563, 29.3092)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314495 #958231
analogous
#317695 #314495 #503195
triadic
#314495 #953144 #449531
tetradic
#314495 #953176 #958231 #319550
square
#314495 #953176 #958231 #319550
split-complementary
#314495 #955031 #769531
monochromatic
#131A39 #222F67 #314495 #425AC1 #7083D0

Accessibility & contrast

On white

8.78
#314495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#314495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314495
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314495#FFFFFF#000000##FFFFFF
##3144951.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4F98
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #314495;
/* rgb */ color: rgb(49, 68, 149);
/* oklch */ color: oklch(41.9% 0.135 269.8);
Tailwind
colors: {
  custom: {
    50: '#7577b5',
    500: '#314495',
    950: '#000000',
  },
}
SCSS
$custom: #314495;
$custom-light: #7577b5;
$custom-dark: #000000;
JSON
{
  "hex": "#314495",
  "rgb": {
    "r": 49,
    "g": 68,
    "b": 149
  },
  "hsl": {
    "h": 228.6,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41885,
    "c": 0.13466,
    "h": 269.8
  },
  "luminance": 0.06957
}

Semantic roles & 50–950 ramp

primary
#314495
secondary
#B8A96A
accent
#BF4EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #314495

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

Preview Lab → · Contrast checker → · Palette generator →

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