#314597#314597

#314597 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.3% C 0.136 H 269.4°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#314597
RGBrgb(49, 69, 151)
HSLhsl(228, 51%, 39%)
HSVhsv(228, 68%, 59%)
CMYKcmyk(67.5%, 54.3%, 0%, 40.8%)
CIE-LABlab(32.13, 20.26, -47.42)
CIE-LCHlch(32.13, 51.56, 293.14°)
OKLaboklab(42.25% -0.0013 -0.1362)
OKLCHoklch(42.25% 0.136 269.4)
XYZxyz(8.9788, 7.1427, 30.1777)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314597 #978331
analogous
#317897 #314597 #503197
triadic
#314597 #973145 #459731
tetradic
#314597 #973178 #978331 #319750
square
#314597 #973178 #978331 #319750
split-complementary
#314597 #975031 #789731
monochromatic
#131B3B #223069 #314597 #435CC2 #7184D1

Accessibility & contrast

On white

8.65
#314597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#314597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314597
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314597#FFFFFF#000000##FFFFFF
##3145971.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D509A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #314597;
/* rgb */ color: rgb(49, 69, 151);
/* oklch */ color: oklch(42.3% 0.136 269.4);
Tailwind
colors: {
  custom: {
    50: '#7578b6',
    500: '#314597',
    950: '#000000',
  },
}
SCSS
$custom: #314597;
$custom-light: #7578b6;
$custom-dark: #000000;
JSON
{
  "hex": "#314597",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 151
  },
  "hsl": {
    "h": 228.235,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4225,
    "c": 0.13623,
    "h": 269.4
  },
  "luminance": 0.07144
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314597

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

Preview Lab → · Contrast checker → · Palette generator →

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