#314497#314497

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

Color values

HEX#314497
RGBrgb(49, 68, 151)
HSLhsl(229, 51%, 39%)
HSVhsv(229, 68%, 59%)
CMYKcmyk(67.5%, 55%, 0%, 40.8%)
CIE-LABlab(31.85, 20.93, -47.86)
CIE-LCHlch(31.85, 52.24, 293.62°)
OKLaboklab(42.04% -0.0004 -0.1375)
OKLCHoklch(42.04% 0.138 269.8)
XYZxyz(8.9178, 7.0208, 30.1573)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314497 #978431
analogous
#317797 #314497 #513197
triadic
#314497 #973144 #449731
tetradic
#314497 #973177 #978431 #319751
square
#314497 #973177 #978431 #319751
split-complementary
#314497 #975131 #779731
monochromatic
#131A3B #222F69 #314497 #435BC2 #7183D1

Accessibility & contrast

On white

8.73
#314497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#314497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314497
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314497#FFFFFF#000000##FFFFFF
##3144971.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07509A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #314497;
/* rgb */ color: rgb(49, 68, 151);
/* oklch */ color: oklch(42.0% 0.138 269.8);
Tailwind
colors: {
  custom: {
    50: '#7577b6',
    500: '#314497',
    950: '#000000',
  },
}
SCSS
$custom: #314497;
$custom-light: #7577b6;
$custom-dark: #000000;
JSON
{
  "hex": "#314497",
  "rgb": {
    "r": 49,
    "g": 68,
    "b": 151
  },
  "hsl": {
    "h": 228.824,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42043,
    "c": 0.13755,
    "h": 269.8
  },
  "luminance": 0.07022
}

Semantic roles & 50–950 ramp

primary
#314497
secondary
#B9AA6B
accent
#C04DDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #314497

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

Preview Lab → · Contrast checker → · Palette generator →

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