#314696#314696

#314696 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.133 H 269.0°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#314696
RGBrgb(49, 70, 150)
HSLhsl(228, 51%, 39%)
HSVhsv(228, 67%, 59%)
CMYKcmyk(67.3%, 53.3%, 0%, 41.2%)
CIE-LABlab(32.33, 19.22, -46.48)
CIE-LCHlch(32.33, 50.29, 292.46°)
OKLaboklab(42.38% -0.0024 -0.1334)
OKLCHoklch(42.38% 0.133 269)
XYZxyz(8.9599, 7.2345, 29.7725)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314696 #968131
analogous
#317996 #314696 #4F3196
triadic
#314696 #963146 #469631
tetradic
#314696 #963179 #968131 #31964F
square
#314696 #963179 #968131 #31964F
split-complementary
#314696 #964F31 #799631
monochromatic
#131B3A #223068 #314696 #435DC1 #7185D1

Accessibility & contrast

On white

8.58
#314696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314696
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314696#FFFFFF#000000##FFFFFF
##3146961.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135199
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #314696;
/* rgb */ color: rgb(49, 70, 150);
/* oklch */ color: oklch(42.4% 0.133 269.0);
Tailwind
colors: {
  custom: {
    50: '#7579b5',
    500: '#314696',
    950: '#000000',
  },
}
SCSS
$custom: #314696;
$custom-light: #7579b5;
$custom-dark: #000000;
JSON
{
  "hex": "#314696",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 150
  },
  "hsl": {
    "h": 227.525,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42382,
    "c": 0.13346,
    "h": 269
  },
  "luminance": 0.07235
}

Semantic roles & 50–950 ramp

primary
#314696
secondary
#B8A86A
accent
#BD4EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314696

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

Preview Lab → · Contrast checker → · Palette generator →

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