#314697#314697

#314697 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.135 H 269.0°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#314697
RGBrgb(49, 70, 151)
HSLhsl(228, 51%, 39%)
HSVhsv(228, 68%, 59%)
CMYKcmyk(67.5%, 53.6%, 0%, 40.8%)
CIE-LABlab(32.41, 19.59, -46.97)
CIE-LCHlch(32.41, 50.89, 292.64°)
OKLaboklab(42.46% -0.0023 -0.1349)
OKLCHoklch(42.46% 0.135 269)
XYZxyz(9.0408, 7.2668, 30.1983)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314697 #978231
analogous
#317997 #314697 #4F3197
triadic
#314697 #973146 #469731
tetradic
#314697 #973179 #978231 #31974F
square
#314697 #973179 #978231 #31974F
split-complementary
#314697 #974F31 #799731
monochromatic
#131B3B #223169 #314697 #435DC2 #7185D1

Accessibility & contrast

On white

8.56
#314697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#314697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314697
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314697#FFFFFF#000000##FFFFFF
##3146971.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11519A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #314697;
/* rgb */ color: rgb(49, 70, 151);
/* oklch */ color: oklch(42.5% 0.135 269.0);
Tailwind
colors: {
  custom: {
    50: '#7579b6',
    500: '#314697',
    950: '#000000',
  },
}
SCSS
$custom: #314697;
$custom-light: #7579b6;
$custom-dark: #000000;
JSON
{
  "hex": "#314697",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 227.647,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42459,
    "c": 0.13491,
    "h": 269
  },
  "luminance": 0.07268
}

Semantic roles & 50–950 ramp

primary
#314697
secondary
#B9A96B
accent
#BD4DDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314697

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

Preview Lab → · Contrast checker → · Palette generator →

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